huangxiaojing 2 lat temu
rodzic
commit
b194fd1dad
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/activity/lottery/index.vue

+ 1 - 1
pages/activity/lottery/index.vue

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