bug 2787
Showing
1 changed file
with
2 additions
and
18 deletions
... | @@ -284,24 +284,8 @@ export default { | ... | @@ -284,24 +284,8 @@ export default { |
284 | }); | 284 | }); |
285 | }, | 285 | }, |
286 | handleMinus (index, row) { | 286 | handleMinus (index, row) { |
287 | this.$confirm("此操作将永久删除, 是否继续?", "提示", { | 287 | removeTreeListItem(this.tableData, row.dictid, 'dictid'); |
288 | confirmButtonText: "确定", | 288 | this.tableData = judgeSort(this.tableData) |
289 | cancelButtonText: "取消", | ||
290 | type: "warning", | ||
291 | }) | ||
292 | .then(() => { | ||
293 | removeTreeListItem(this.tableData, row.dictid, 'dictid'); | ||
294 | this.$message({ | ||
295 | type: "success", | ||
296 | message: "删除成功!", | ||
297 | }); | ||
298 | }) | ||
299 | .catch(() => { | ||
300 | this.$message({ | ||
301 | type: "info", | ||
302 | message: "已取消删除", | ||
303 | }); | ||
304 | }); | ||
305 | }, | 289 | }, |
306 | handleSubmit () { | 290 | handleSubmit () { |
307 | editDictNode({ | 291 | editDictNode({ | ... | ... |
-
Please register or sign in to post a comment