Fix:修改commonsearch中使用SelectPage可能存在的问题

* 1、点击“重置”按钮,SelectPage无法恢复初始搜索值
* 2、点击“重置”按钮,SelectPage需要点击两次才能返回执行默认条件搜索,第一次点击时恢复初始搜索值,第二次点击才会执行搜索

Signed-off-by: Jason <18610599620@163.com>
pull/467/head
Jason 2024-07-11 01:19:04 +00:00 committed by Gitee
parent ac25e4b275
commit a811bacb4a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
// 重置搜索
form.on("click", "button[type=reset]", function (event) {
form[0].reset();
$('.selectpage', form[0]).selectPageClear();
setTimeout(function () {
that.onCommonSearch();
}, 1);