Pārlūkot izejas kodu

Update index.vue

王新雷 4 gadi atpakaļ
vecāks
revīzija
a946758b7d
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/views/teamBuild/index.vue

+ 3 - 3
src/views/teamBuild/index.vue

@@ -80,7 +80,7 @@ export default {
   name: "teamBuild",
   name: "teamBuild",
   data() {
   data() {
     return {
     return {
-      activeIndex: 2,
+      activeIndex: 0,
       stepImgs: {
       stepImgs: {
         nol: require("@/assets/images/base/step-arrow-active.png"),
         nol: require("@/assets/images/base/step-arrow-active.png"),
         active: require("@/assets/images/base/step-arrow.png"),
         active: require("@/assets/images/base/step-arrow.png"),
@@ -94,7 +94,7 @@ export default {
   },
   },
   created() {
   created() {
     // 判断 是新建乐团还是修改乐团
     // 判断 是新建乐团还是修改乐团
-    this.activeIndex = 2;
+    this.activeIndex = 0;
     this.init();
     this.init();
   },
   },
   activated() {
   activated() {
@@ -121,7 +121,7 @@ export default {
          this.activeIndex = 0;
          this.activeIndex = 0;
       } else {
       } else {
         this.pageName = "乐团修改";
         this.pageName = "乐团修改";
-         this.activeIndex = 2;
+         this.activeIndex = 0;
       }
       }
     },
     },
     chiosetab(val) {
     chiosetab(val) {