This commit is contained in:
张成
2026-02-10 14:06:35 +08:00

View File

@@ -93,6 +93,16 @@ export default {
this.init() this.init()
}) })
}, },
async clearConfirm(row) {
uiTool.showConfirm({
content: '你确定清空吗?',
}, async () => {
row.value = null
await paramSetupServer.edit(row)
this.$Message.success('清空成功!')
this.init()
})
},
async delConfirm(row) { async delConfirm(row) {
uiTool.delConfirm(async () => { uiTool.delConfirm(async () => {
await paramSetupServer.del(row) await paramSetupServer.del(row)