Browse Source

修改bug

lichao 3 years ago
parent
commit
9890ac5ef0
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/views/wel/components/quick-launch.vue

+ 6 - 4
src/views/wel/components/quick-launch.vue

@@ -97,7 +97,7 @@
           <i class="tradingIcon icon-pay" style="color:#7E8270"></i>
           <span>付费</span>
         </div>
-        <div class="content-icon" @click="inPage('smart')">
+        <div class="content-icon" @click="inPage('smart')" v-if="sysType == 2">
           <div style="width: 36px;height: 37px;border-radius: 10px;background-color: #0771e3;text-align: center;">
             <i class="el-icon-basketball" style="color:#FFFFFF;font-size: 26px;line-height: 37px;"></i>
           </div>
@@ -131,9 +131,11 @@ export default {
     sysType: Number
   },
   created() {
-    this.getWorkDicts('large_screen').then(res => {
-      this.largeScreenToken = res.data.data[0].dictKey;
-    })
+    if (this.sysType == 2) {
+      this.getWorkDicts('large_screen').then(res => {
+        this.largeScreenToken = res.data.data[0].dictKey;
+      })
+    }
   },
   methods: {
     inPage(type) {