feat:删除提示

This commit is contained in:
du.meimei
2025-04-18 13:24:55 +08:00
parent b639d269d5
commit 9b5e85036b

View File

@@ -111,11 +111,13 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
datasetDelete({ id: item.id }).then(res => { datasetDelete({ id: item.id }).then(res => {
if (res.content.result === 0) {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '删除成功!' message: '删除成功!'
}) })
this.getList() this.getList()
}
}) })
}) })
} }
@@ -310,6 +312,7 @@ export default {
position: relative; position: relative;
color: #606266; color: #606266;
transition: all 0.25s ease; transition: all 0.25s ease;
margin-left: 0;
&:hover { &:hover {
color: #409eff; color: #409eff;