Commit 72697820 by 李嘉林

feat: 退出登录一直登不上

parent 0ae56da6
...@@ -219,10 +219,11 @@ export default { ...@@ -219,10 +219,11 @@ export default {
Object.assign(this.$data, this.$options.data()); //mpvue 的混合周期 使用小程序生命周期数据未初始化 Object.assign(this.$data, this.$options.data()); //mpvue 的混合周期 使用小程序生命周期数据未初始化
options.scene && (this.scene=options.scene) options.scene && (this.scene=options.scene)
if (options.back) { if (options.back) {
if(options.isEncode == 1) { let backPath = decodeURIComponent(options.back);
this.backPath = decodeURIComponent(options.back); if (backPath.includes('?from=logout')) {
}else { this.backPath = backPath.split('?from=logout')[0];
this.backPath = options.back; } else {
this.backPath = backPath;
} }
} }
console.log(this.backPath,'-----backPath') console.log(this.backPath,'-----backPath')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment