Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.$vux.toast.text('请输入名字~', 'middle')
return
}
if (!mobile) {
this.$vux.toast.text('请输入手机号~', 'middle')
return
}
if (!cityArr) {
this.$vux.toast.text('请选择地区~', 'middle')
return
}
if (!detail) {
this.$vux.toast.text('请输入详情地址~', 'middle')
return
}
let cityVal = value2name(cityArr, ChinaAddressV4Data)
this.UPDATE_ADDRESS({
name: name,
mobile: mobile,
cityArr: cityArr,
cityVal: cityVal,
detail: detail
})
this.$router.go(-1)
}
},