添加callback();

dev_2022-05-11
yujialong 3 years ago
parent 4a0fc3801a
commit 6496f2b648
  1. 2
      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('请输入正确学生学号格式'));
}

Loading…
Cancel
Save