2023-3-15

This commit is contained in:
2023-03-15 14:17:28 +08:00
parent f473451293
commit b9e99fb100
6 changed files with 38 additions and 26 deletions

View File

@@ -152,28 +152,21 @@
};
}
let data = await Api.apiCall('post', Api.index.simpleReg, params);
if(data.data.code==500){
console.log("1111111111",data);
if(data){
uni.showToast({
icon: 'none',
mask: true,
title:data.data.data,
title: vel ? "恭喜您注册成功,并成为惠农会员。" : "恭喜您注册成功。",
duration: 2000
});
return
setTimeout(function() {
that.request();
}, 3000);
}
uni.showToast({
icon: 'none',
mask: true,
title: vel ? "恭喜您注册成功,并成为惠农会员。" : "恭喜您注册成功。",
duration: 2000
});
setTimeout(function() {
that.request();
}, 3000);
},
async request() {
var that = this;