zhaoke 1 tahun lalu
induk
melakukan
230663bb0a
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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('操作成功')