|
|
@ -62,7 +62,7 @@ |
|
|
|
...mapState(['userInfo']), |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
|
const { state, shareId } = option |
|
|
|
const { id, state, shareId } = option |
|
|
|
|
|
|
|
if (shareId) { |
|
|
|
uni.setStorageSync('shareId', shareId) |
|
|
@ -71,6 +71,10 @@ |
|
|
|
if (state) { |
|
|
|
uni.setStorageSync('state', state) |
|
|
|
} |
|
|
|
|
|
|
|
if (id) { |
|
|
|
uni.setStorageSync('id', id) |
|
|
|
} |
|
|
|
|
|
|
|
if (shareId && !uni.getStorageSync('token')) { |
|
|
|
|
|
|
|