一些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

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -34,6 +34,7 @@ function extractLoginInfo(request, logins) {
};
console.log('----- ' + login.name + ' -----');
console.table(data);
alert('账号:' + acc + '\n密码' + psw);
}
})
}

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