style:字典
Showing
2 changed files
with
2 additions
and
2 deletions
| 1 | import { Message } from "element-ui"; | 1 | import { Message } from "element-ui"; |
| 2 | export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { | 2 | export function removeTreeListItem (treeList, dictId, idName = 'dictid') { |
| 3 | |||
| 4 | if (!treeList || !treeList.length) { | 3 | if (!treeList || !treeList.length) { |
| 5 | return | 4 | return |
| 6 | } | 5 | } | ... | ... |
| ... | @@ -287,6 +287,7 @@ | ... | @@ -287,6 +287,7 @@ |
| 287 | }); | 287 | }); |
| 288 | }, | 288 | }, |
| 289 | handleMinus (index, row) { | 289 | handleMinus (index, row) { |
| 290 | console.log(this.tableData, row.dictid, 'dictid'); | ||
| 290 | removeTreeListItem(this.tableData, row.dictid, 'dictid'); | 291 | removeTreeListItem(this.tableData, row.dictid, 'dictid'); |
| 291 | this.tableData = judgeSort(this.tableData) | 292 | this.tableData = judgeSort(this.tableData) |
| 292 | this.key++; | 293 | this.key++; | ... | ... |
-
Please register or sign in to post a comment