|
@@ -252,7 +252,7 @@ export default {
|
|
|
// 把原来那个二级分组条目删除
|
|
|
this.$nextTick(() => {
|
|
|
const toDeleteIndex = originalParentGroup.children.findIndex((eachLevel2Id) => {
|
|
|
- return eachLevel2Id.endsWith('__need__delete__')
|
|
|
+ return eachLevel2Id.toString().endsWith('__need__delete__')
|
|
|
})
|
|
|
originalParentGroup.children.splice(toDeleteIndex, 1)
|
|
|
})
|