11wqe1 3 月之前
父節點
當前提交
11b06517eb
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/kanBan/index.vue

+ 5 - 3
src/views/kanBan/index.vue

@@ -7,7 +7,7 @@
               <span style="color: #0663FE;font-weight: 600;">{{ userinfo.schoolName }}</span>
             </div>
             <div class="person">
-                <el-button v-if="isIndex2 != ''" type="text" @click="gotoli" style="margin-right: 20px">返回校区</el-button>
+                <el-button v-if="isIndex2 == 2" type="text" @click="gotoli" style="margin-right: 20px">返回校区</el-button>
               <div class="person_name">
                 <img
                  @click="openData()"
@@ -142,9 +142,11 @@ export default {
     },
     mounted() {
         const index = this.$route.query.index; // 123
-
+        console.log(index);
+        
         if (index == 2) {
-            this.isActive = index
+            this.isActive = 2
+            this.isIndex2 = 2
         }else if (index == 1) {
             this.isIndex2 = index
         }