Commit 0c5d1b8a authored by youjie's avatar youjie

no message

parent 1009a426
...@@ -226,17 +226,7 @@ ...@@ -226,17 +226,7 @@
} }
}, },
usernameInput(val) { usernameInput(val) {
var phonereg = 11 && /^((13|14|15|16|17|18|19)[0-9]{1}\d{8})$/ data.msg.StuTel = val.detail.value
if (!phonereg.test(val.detail.value)) {
uni.showToast({
title: '请输入正确的手机号',
icon: 'none',
duration: 1000
})
} else {
data.msg.StuTel = val.detail.value
that.getData()
}
}, },
async addChild(){ async addChild(){
if(!data.form.StuId){ if(!data.form.StuId){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment