Parcourir la source

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

Tang il y a 3 ans
Parent
commit
54ab7f4e8e
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  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');