jt
2024-03-14 db95b21bd883df9cbbad97d86bb8e94709ffa312
pages/index/index.vue
@@ -116,7 +116,6 @@
               if (success.code=='00000' || success.err_code == 0) {
                  this.data = success.data;
                  if(success.err_code!=undefined){ //判断是否是Mobox3
                     success.result.forEach(async (area,index) => {
                        if(area.client_type==2){ //判断类型是否是PDA类型
                           await this.GetFuncTree(index,area);
@@ -155,7 +154,7 @@
               need_ace: '0',
            };
            this.$store.dispatch('GetFuncTree',json).then(success=>{
               // console.log(success);
               console.log(success);
               if (success.err_code == 0) {
                  $this.data.push(success.result[0]);
                  this.$store.commit("areaFunc", $this.data);