Browse Source

修改bug

huangxiaojing 2 years ago
parent
commit
36665c22ba
3 changed files with 5 additions and 2 deletions
  1. 3 0
      pages/activity/lottery/index.vue
  2. 1 1
      static/screenAndroid/timer.js
  3. 1 1
      static/screenIos/timer.js

+ 3 - 0
pages/activity/lottery/index.vue

@@ -288,6 +288,9 @@ export default {
     this.getLuckDrawActivity();
     this.getLuckDrawActivity();
     this.getCarouselList();
     this.getCarouselList();
   },
   },
+  mounted() {
+    console.log(window.navigator.userAgent)
+  },
   methods: {
   methods: {
     async getCarouselList() {
     async getCarouselList() {
       const res = await this.$axios.$post('/activity/v1/member/carousel');
       const res = await this.$axios.$post('/activity/v1/member/carousel');

+ 1 - 1
static/screenAndroid/timer.js

@@ -18,7 +18,7 @@ function handleQuit() {
             },
             },
             type: 'get',
             type: 'get',
             dataType: 'json',
             dataType: 'json',
-            function(res) {
+            success: function (res) {
               if (res.status === 0) {
               if (res.status === 0) {
                 ws.close();
                 ws.close();
                 wsss.close();
                 wsss.close();

+ 1 - 1
static/screenIos/timer.js

@@ -18,7 +18,7 @@ function handleQuit() {
             },
             },
             type: 'get',
             type: 'get',
             dataType: 'json',
             dataType: 'json',
-            function(res) {
+            success: function (res) {
               if (res.status === 0) {
               if (res.status === 0) {
                 decodeWoker.postMessage('close');
                 decodeWoker.postMessage('close');
                 decodeWoker.terminate();
                 decodeWoker.terminate();