mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
优化js语法,提高兼容性
This commit is contained in:
@@ -1313,7 +1313,7 @@
|
||||
//触发排序事件
|
||||
table.on('sort(' + option.layFilter + ')', function (obj) { //注:sort 是工具条事件名,test 是 table 原始容器的属性 lay-filter="对应的值"
|
||||
|
||||
var lastWhere = lastTableWhere[option.id] ?? {};
|
||||
var lastWhere = lastTableWhere[option.id] ? lastTableWhere[option.id] : {};
|
||||
|
||||
lastWhere.sort = {};
|
||||
lastWhere.sort[obj.field] = obj.type;
|
||||
|
||||
Reference in New Issue
Block a user