【bug】小程序注册企业查询问题
This commit is contained in:
@@ -139,11 +139,13 @@ Page({
|
||||
console.log('表单提交的数据',formData);
|
||||
UserApi.registerUser(formData).then(res => {
|
||||
console.log(res);
|
||||
wx.showToast({
|
||||
title: res.result,
|
||||
icon:none,
|
||||
duration:800
|
||||
})
|
||||
if(res.success){
|
||||
wx.showToast({
|
||||
title: res.result,
|
||||
icon:'none',
|
||||
duration:800
|
||||
})
|
||||
setTimeout( () => {
|
||||
wx.navigateTo({
|
||||
url: '../login/login',
|
||||
success(){
|
||||
@@ -152,6 +154,8 @@ Page({
|
||||
})
|
||||
}
|
||||
})
|
||||
},800)
|
||||
}
|
||||
}).catch(err => {
|
||||
wx.showToast({
|
||||
title: err.message,
|
||||
@@ -242,7 +246,7 @@ Page({
|
||||
// 选择企业
|
||||
selectCompany() {
|
||||
wx.navigateTo({
|
||||
url: '../companyList/companyList?page=register',
|
||||
url: '../companyList/companyList?page=register&nolimit=true',
|
||||
})
|
||||
},
|
||||
goBack() {
|
||||
|
||||
Reference in New Issue
Block a user