Pārlūkot izejas kodu

‘fix:考试预约数量提示BUG’

Tang 3 gadi atpakaļ
vecāks
revīzija
54ab7f4e8e
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      pages2/exam/index.vue

+ 4 - 4
pages2/exam/index.vue

@@ -30,11 +30,11 @@ export default {
 	},
 	methods: {
 		getInfo(){
-			this.$api.getApplylist().then(res => {
-				if(res.data.code === 200){
-					this.yyNum = res.data.rows.length
+			this.$api.getinfoAttached().then(res => {
+				if (res.data.code === 200) {
+					this.yyNum = res.data.data.subscribeSum;
 				}
-			})
+			});
 		},
 		goAppointment(){
 			this.$navTo.togo('/pages2/exam/exam_appointment');