瀏覽代碼

no message

linwenxin 1 年之前
父節點
當前提交
9b8cee1c15
共有 2 個文件被更改,包括 5 次插入6 次删除
  1. 0 1
      src/App.vue
  2. 5 5
      src/manifest.json

+ 0 - 1
src/App.vue

@@ -33,7 +33,6 @@ function getQueryVariable(variable) {
         // 微信鉴权登入
         var isAuthorization = getQueryVariable('isAuthorization');
         if (isAuthorization) {
-          alert(1)
           var url = 'https://jiasm.zfire.top/recycleh5/pages/login/indexs';
           const href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxaddd13c267e81e70&redirect_uri=${url}&response_type=code&scope=snsapi_userinfo#wechat_redirect`;
           window.location.href = href;

+ 5 - 5
src/manifest.json

@@ -13,7 +13,7 @@
   },
   "h5": {
     "title": "",
-    "publicPath": "/",
+    "publicPath": "/recycleh5/",
     "devServer": {
       "https": false,
       "port": 3000,
@@ -31,7 +31,7 @@
     },
     "router": {
       "mode": "history",
-      "base": "/"
+      "base": "/recycleh5/"
     },
     "optimization": {
       "prefetch": true,
@@ -76,9 +76,9 @@
   },
   "app-plus": {
     /* 5+App特有相关 */
-    "usingComponents": false,
+    "usingComponents": false,
     "splashscreen": {
-      "alwaysShowBeforeRender": false,
+      "alwaysShowBeforeRender": false,
       "waiting": true,
       "autoclose": true,
       "delay": 0
@@ -126,7 +126,7 @@
     "usingComponents": true
   },
   "mp-baidu": {
-    "usingComponents": false
+    "usingComponents": false
   },
   "mp-toutiao": {
     "usingComponents": true