zhaoke 1 年之前
父節點
當前提交
230663bb0a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/systemSettings/views/newAuth/index.vue

+ 3 - 0
src/views/systemSettings/views/newAuth/index.vue

@@ -395,6 +395,9 @@ export default {
     },
     //树删除-确定
     async tableRemove () {
+      if (this.rmObj.children) {
+        delete this.rmObj.children
+      }
       const { code } = await this.getChangeList(this.queryId, this.rmObj, 3)
       if (code == 0) {
         this.$message.success('操作成功')