Przeglądaj źródła

Merge branch 'master' into dev

# Conflicts:
#	layouts/default.vue
#	pages/job/index.vue
bruce 5 lat temu
rodzic
commit
e4661b312d
1 zmienionych plików z 7 dodań i 1 usunięć
  1. 7 1
      pages/job/index.vue

+ 7 - 1
pages/job/index.vue

@@ -323,7 +323,13 @@
       setTimeout(() => {
         this.isShowDownLoad = true;
         console.log("this.isShowDownload=", this.isShowDownLoad);
-      }, 500);
+      }, 500)
+
+      let ua = navigator.userAgent;
+
+      this.isBaiduxapp = navigator.userAgent.indexOf('swan/') > -1;
+      console.log(this.$route.params);
+      this.isWxapp = this.$route.query.isWxMini && this.$route.query.isWxMini == 1;
     },
     methods: {
       //移动端选择器