From 46773828b8c46e450a67eb1fc5e6124d87d97ab6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 23 九月 2023 19:51:11 +0800 Subject: [PATCH] 2023-09-23 --- 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