mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
fix: 修复自动从url读取table搜索参数兼容性问题
This commit is contained in:
@@ -560,13 +560,18 @@
|
||||
d.elemIdName = d.elemIdName.replace('.', '-');
|
||||
}
|
||||
|
||||
|
||||
if (d.defaultSearchValue !== undefined) {
|
||||
if (!d.searchValue || d.searchValue.length == 0) {
|
||||
d.searchValue = d.defaultSearchValue;
|
||||
}
|
||||
}else{
|
||||
if(d.field){
|
||||
d.defaultSearchValue = admin.getQueryVariable(d.field)
|
||||
d.searchValue = admin.getQueryVariable(d.field)
|
||||
if(d.defaultSearchValue != undefined){
|
||||
d.searchValue = d.defaultSearchValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (d.searchValue !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user