fix: BUG修改
This commit is contained in:
parent
93154c6754
commit
0e8814c626
@ -71,7 +71,7 @@
|
||||
this.init(this.saveForm);
|
||||
if (this.type == "user") {
|
||||
uni.reLaunch({
|
||||
url: '/pages/projectEnd/projectIndex/projectIndex'
|
||||
url: '/pages/projectEnd/projectIndex/projectIndex?fromPage=loginPage'
|
||||
})
|
||||
} else if (this.type == "supplier") {
|
||||
uni.reLaunch({
|
||||
@ -213,7 +213,6 @@
|
||||
})
|
||||
});
|
||||
// #endif
|
||||
|
||||
uni.setStorageSync('wflow-token', data.token);
|
||||
uni.setStorageSync('account', this.formData.account);
|
||||
uni.setStorageSync('password', this.formData.password);
|
||||
|
||||
@ -263,7 +263,7 @@
|
||||
uni.removeStorageSync('buildObj')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onLoad(options) {
|
||||
var userInfo = JSON.parse(uni.getStorageSync('userInfo'))
|
||||
console.log('userInfo===========', userInfo)
|
||||
this.userInfo = userInfo
|
||||
@ -271,7 +271,7 @@
|
||||
this.styType = userInfo.styleType
|
||||
this.systemInfo = uni.getStorageSync('systemInfo')
|
||||
this.getSystemLogoConfig()
|
||||
if(!this.userInfo.personMail){
|
||||
if(!this.userInfo.personMail && options.fromPage && options.fromPage == 'loginPage'){
|
||||
this.checkInfoComplete()
|
||||
}
|
||||
// #ifdef APP-PLUS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user