xiongzhu %!s(int64=4) %!d(string=hai) anos
pai
achega
fa1493c69c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/views/Submit.vue

+ 3 - 1
src/views/Submit.vue

@@ -151,7 +151,9 @@ export default {
                   })
                 : Promise.resolve(),
             this.$http.get('/sysConfig/get/enable_wx_lite').then(res => {
-                this.enable_wx_lite = res.value.split(',').findIndex(i => i === this.$route.query.id) > -1;
+                this.enable_wx_lite =
+                    res.value.split(',').findIndex(i => i === this.$route.query.id) > -1 &&
+                    !/AliApp/i.test(navigator.userAgent);
                 return Promise.resolve();
             })
         ]).then(() => {