From d172c99d4983fec69f60b27e696831abd7d05ff8 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 3 Nov 2021 17:36:33 +0800 Subject: [PATCH] feat: There is no way the,tree --- .../domesticStandardsAndRegulations/index.vue | 4 ---- .../components/EnterpriseStandardDatabase.vue | 4 ---- .../foreignStandardsAndRegulations/index.vue | 6 +----- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 461fd431f..efdb5d22c 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -3077,11 +3077,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) this.treeList = res.data - } } }) }, diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 7f861eec9..e88d0a094 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -2057,11 +2057,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) this.treeList = res.data - } } }) }, diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index c4793f3c6..bc9cfcedd 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2866,11 +2866,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) - this.treeList = res.data - } + this.treeList = res.data } }) },