|
@ -21,7 +21,7 @@ export default { |
|
|
try { |
|
|
try { |
|
|
if (options.query.scene) { |
|
|
if (options.query.scene) { |
|
|
const query = formatQuery(decodeURIComponent(options.query.scene)); |
|
|
const query = formatQuery(decodeURIComponent(options.query.scene)); |
|
|
if (query && query.d) { |
|
|
if (options.path === 'pages/index/index' && query && query.d) { |
|
|
await this.getTokenByUserId({ params: { userId: query.d } }); |
|
|
await this.getTokenByUserId({ params: { userId: query.d } }); |
|
|
this.initCommon(); |
|
|
this.initCommon(); |
|
|
} else { |
|
|
} else { |
|
|