submit
This commit is contained in:
parent
dc1390fcaa
commit
b00e63af10
@ -99,10 +99,10 @@ export default {
|
|||||||
url:'https://erpapi.fontree.cn/secret/visitor',
|
url:'https://erpapi.fontree.cn/secret/visitor',
|
||||||
data:{...this.reqData,gender: this.shifoushiguche.find(x=>x.checked).value,sn:this.sn},
|
data:{...this.reqData,gender: this.shifoushiguche.find(x=>x.checked).value,sn:this.sn},
|
||||||
complete:(res)=>{
|
complete:(res)=>{
|
||||||
|
this.$refs.toast.hide()
|
||||||
if (res.data.code===200){
|
if (res.data.code===200){
|
||||||
uni.showToast({ title: '提交成功', icon: 'none' });
|
uni.showToast({ title: '提交成功', icon: 'none' });
|
||||||
}else {
|
}else {
|
||||||
this.$refs.toast.hide()
|
|
||||||
if (!res.data.msg){
|
if (!res.data.msg){
|
||||||
uni.showToast({ title: '服务器错误', icon: 'none' });
|
uni.showToast({ title: '服务器错误', icon: 'none' });
|
||||||
}else {
|
}else {
|
||||||
|
Loading…
Reference in New Issue
Block a user