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
         }