|
@@ -295,10 +295,11 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
async fetch() {
|
|
|
+ if (this.$route.query.type === 'pc') {
|
|
|
+ this.$router.push({ path: '/activity/lottery/pc', query: {token: this.$route.query.token}})
|
|
|
+ }
|
|
|
if (this.$userAgent.isAndroid) {
|
|
|
this.token = await window.native.getToken();
|
|
|
- } else if (window.isPC) {
|
|
|
- this.$router.push({ path: '/activity/lottery/pc', query: {token: this.$route.query.token}})
|
|
|
} else {
|
|
|
this.token = this.$route.query.token;
|
|
|
}
|