一些UI交互处理

This commit is contained in:
技术老胡
2024-12-09 14:40:21 +08:00
parent 6c3106a6aa
commit 6b3f6c5448
3 changed files with 4 additions and 3 deletions

View File

@@ -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) } });
}
});
// 单元格事件