mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 02:46:50 +08:00
feat:删除提示
This commit is contained in:
@@ -111,11 +111,13 @@ export default {
|
|||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
datasetDelete({ id: item.id }).then(res => {
|
datasetDelete({ id: item.id }).then(res => {
|
||||||
this.$message({
|
if (res.content.result === 0) {
|
||||||
type: 'success',
|
this.$message({
|
||||||
message: '删除成功!'
|
type: 'success',
|
||||||
})
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user