dengjie commit : 修改部分存在问题

This commit is contained in:
邓洁
2023-02-03 01:00:26 +08:00
parent 9b7fccdd53
commit d76675a66a
9 changed files with 135 additions and 96 deletions

View File

@@ -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'
})
}