Jelajahi Sumber

删除多余代码

jinsy 7 tahun lalu
induk
melakukan
22c838432b

+ 8 - 9
frontend/saas-portal-web/src/components/conenter/enterprise.vue

@@ -200,14 +200,13 @@ import { setTimeout } from 'timers';
             tabswitch(index){
                 if (index == 3) {
                     this.nowindex = 3;
-                let mytoken = JSON.parse(localStorage.getItem('app-state-session'));
-                let id = mytoken.account.id;
-                // tab切换到消息的时候执行
-                let param = [{
-                    type:'condition',
-                    value:'creatorId='+id+''
-                }]
-                
+                    let mytoken = JSON.parse(localStorage.getItem('app-state-session'));
+                    let id = mytoken.account.id;
+                    // tab切换到消息的时候执行
+                    let param = {
+                        type:'condition',
+                        value:'creatorId='+id+''
+                    }
                     this.$ajax({
                         url:'http://192.168.253.41:8560/api/commons/remind/apply/list',
                         method:'GET',
@@ -231,7 +230,7 @@ import { setTimeout } from 'timers';
                 
             },
             setTurnHome(){
-                debugger
+                // debugger
                 this.$parent.turnHome = true
             },
             //退出