支持组件自适应项目
This commit is contained in:
@@ -59,12 +59,15 @@ export default {
|
|||||||
corpId = 'ww2a667717a70164f1'
|
corpId = 'ww2a667717a70164f1'
|
||||||
module = 'wangge'
|
module = 'wangge'
|
||||||
}
|
}
|
||||||
|
this.setModule(module)
|
||||||
this.getToken({...this.form, module, corpId}).then(token => {
|
this.getToken({...this.form, module, corpId}).then(token => {
|
||||||
|
if (token) {
|
||||||
this.login(token)
|
this.login(token)
|
||||||
if (module != 'AppCountryAlbum') {
|
if (module != 'AppCountryAlbum') {
|
||||||
this.getAccount({module}).then(() => this.setModule(module))
|
this.getAccount({module})
|
||||||
}
|
}
|
||||||
this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({})
|
this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({})
|
||||||
|
}
|
||||||
}).catch(() => 0)
|
}).catch(() => 0)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user