Tang há 2 anos atrás
pai
commit
6cb5964e73
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/pages/person-center/my-course/index.vue

+ 2 - 2
src/pages/person-center/my-course/index.vue

@@ -418,7 +418,7 @@
                     type="primary"
                     class="btn"
                     @click="appointment(item)"
-                    >{{ item.subscribeSign == 4 ? "预约记录" : "预约考试" }}
+                    >{{ item.subscribeSign == 1 ? "预约考试" : "预约记录" }}
                   </el-button>
                   <el-button
                     v-if="item.openQuestion == 1"
@@ -1193,7 +1193,7 @@ export default {
       );
     },
     appointment(item) {
-      if (item.subscribeSign == 4) {
+      if (item.subscribeSign !== 1) {
         this.$router.push({
           path: "/person-center/my-examination/index"
         });