瀏覽代碼

解决节点勾选问题

gangyj 2 年之前
父節點
當前提交
f601f41d9b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/manager/archivetree.vue
  2. 1 1
      src/views/manager/projectinfo/archivetreeRule.vue

+ 1 - 1
src/views/manager/archivetree.vue

@@ -1736,7 +1736,7 @@ export default {
 
 
     //立卷规则修改
     //立卷规则修改
     async changeConfig(){
     async changeConfig(){
-      let keys = this.$refs.configtree.getCheckedKeys(true);
+      let keys = this.$refs.configtree.getCheckedKeys();
       let nodes = this.$refs.configtree.getCheckedNodes();
       let nodes = this.$refs.configtree.getCheckedNodes();
       console.log(nodes)
       console.log(nodes)
       const { data: res } = await updateArchiveAutoRule({
       const { data: res } = await updateArchiveAutoRule({

+ 1 - 1
src/views/manager/projectinfo/archivetreeRule.vue

@@ -1723,7 +1723,7 @@ export default {
 
 
     //立卷规则修改
     //立卷规则修改
     async changeConfig(){
     async changeConfig(){
-      let keys = this.$refs.configtree.getCheckedKeys(true);
+      let keys = this.$refs.configtree.getCheckedKeys();
       let nodes = this.$refs.configtree.getCheckedNodes();
       let nodes = this.$refs.configtree.getCheckedNodes();
       console.log(nodes)
       console.log(nodes)
       const { data: res } = await updateArchiveAutoRule({
       const { data: res } = await updateArchiveAutoRule({