chenrui  11 months ago
parent
commit
590a0d5bc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/createtable/tablelet.vue

+ 1 - 1
src/views/createtable/tablelet.vue

@@ -213,6 +213,7 @@ export default {
   methods: {
     //页面初始化
     pageInit (authId) {
+      this.treeData = []
       //获取页面查询参数
       // const { query } = this.$route
       // authId ? this.pageQuery = this.authQuery : this.pageQuery = query
@@ -227,7 +228,6 @@ export default {
       //获取当前页面权限类型
       if (!pageAuthArrs.length) return
       //获取tree权限
-      this.treeData = []
       const pageAuthtrees = pageAuthArrs.filter(item => item.pagetype == 'tree')
       if (pageAuthtrees?.length){ this.getPageTreeSetting(pageAuthtrees)}else{
         this.treeData = []