浏览代码

修改bug

huangxiaojing 2 年之前
父节点
当前提交
b194fd1dad
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;