dengjie commit : 修改部分存在问题
This commit is contained in:
@@ -42,6 +42,10 @@
|
||||
handleSureClick() {
|
||||
let name = this.$refs.nameAndphone.model.userInfo.name
|
||||
let phone = this.$refs.nameAndphone.model.userInfo.phone
|
||||
if (!/^1[3456789]\d{9}$/.test(phone)) {
|
||||
this.$toast.warn('请输入正确的手机号')
|
||||
return false
|
||||
}
|
||||
this.$apiServe.bindComponyAndUpdate({
|
||||
uid: 1,
|
||||
type: 2,
|
||||
@@ -57,9 +61,11 @@
|
||||
}).finally(_ => {})
|
||||
},
|
||||
confirm() {
|
||||
this.showM = false
|
||||
uni.reLaunch({
|
||||
url: '/pages/my/my'
|
||||
})
|
||||
if (this.needAsk == 1) {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user