mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-14 14:43:43 +08:00
一些UI交互处理
This commit is contained in:
@@ -90,11 +90,11 @@
|
||||
// 表头工具事件
|
||||
table.on('toolbar(plugin-table)', function (obj) {
|
||||
if (obj.event === 'showAllPlugin') {
|
||||
table.reload('plugin-table', { where: { show: 0 }, done: () => { plugin.changClass(obj.event) } });
|
||||
table.reloadData('plugin-table', { where: { show: 0 }, done: () => { plugin.changClass(obj.event) } });
|
||||
} else if (obj.event === 'showInstalled') {
|
||||
table.reload('plugin-table', { where: { show: 1 }, done: () => { plugin.changClass(obj.event) } });
|
||||
table.reloadData('plugin-table', { where: { show: 1 }, done: () => { plugin.changClass(obj.event) } });
|
||||
} else if (obj.event === 'showWaitInstall') {
|
||||
table.reload('plugin-table', { where: { show: 2 }, done: () => { plugin.changClass(obj.event) } });
|
||||
table.reloadData('plugin-table', { where: { show: 2 }, done: () => { plugin.changClass(obj.event) } });
|
||||
}
|
||||
});
|
||||
// 单元格事件
|
||||
|
||||
Reference in New Issue
Block a user