From 6496f2b648d9c99a390fc93906b304e3c0e13551 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 4 Nov 2021 14:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0callback();?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/student/list/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/student/list/index.vue b/src/pages/student/list/index.vue index 49b94c8..41bb18b 100644 --- a/src/pages/student/list/index.vue +++ b/src/pages/student/list/index.vue @@ -267,6 +267,7 @@ export default { var pattern = /^[A-Za-z0-9]*$/; if(pattern.test(value)){ this.accountChange() + callback(); }else{ callback(new Error('请输入正确账号格式')); } @@ -279,6 +280,7 @@ export default { var pattern = /^[A-Za-z0-9]*$/; if(pattern.test(value)){ this.worknumberChange() + callback(); }else{ callback(new Error('请输入正确学生学号格式')); }