From 6c1db2f9b6888796731bcee0966ec3f374574791 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 04 十月 2023 19:11:41 +0800
Subject: [PATCH] 2023-10-04

---
 src/utils/utils-custom.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js
index 9ad1446..59816a5 100644
--- a/src/utils/utils-custom.js
+++ b/src/utils/utils-custom.js
@@ -1034,7 +1034,7 @@
     }
   })
 
-  return searchText.join(' AND ')
+  return searchText.length > 0 ? 'where ' + searchText.join(' AND ') : ''
 }
 
 /**

--
Gitblit v1.8.0