2023-3-15
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user