linwenxin 1 рік тому
батько
коміт
920417adf9
2 змінених файлів з 8 додано та 8 видалено
  1. 1 1
      src/App.vue
  2. 7 7
      src/manifest.json

+ 1 - 1
src/App.vue

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

+ 7 - 7
src/manifest.json

@@ -13,7 +13,7 @@
   },
   "h5": {
     "title": "",
-    "publicPath": "/",
+    "publicPath": "/",
     "devServer": {
       "https": false,
       "port": 3000,
@@ -30,8 +30,8 @@
       }
     },
     "router": {
-      "mode": "hash",
-      "base": "/"
+      "mode": "history",
+      "base": "/"
     },
     "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
@@ -134,4 +134,4 @@
   "mp-qq": {
     "usingComponents": true
   }
-}
+}