소스 검색

修改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;