Sfoglia il codice sorgente

首页和报错修改

XuZinan 3 anni fa
parent
commit
96d47b1808
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      pages.json
  2. 1 1
      services/request.js

+ 1 - 1
pages.json

@@ -1,7 +1,7 @@
 {
   "pages": [
     {
-      "path": "pages/index/index",
+      "path": "pages/login/login",
       "style": {
         "navigationBarTitleText": "人日系统",
         "app-plus": {

+ 1 - 1
services/request.js

@@ -83,7 +83,7 @@ function request(url, option, data = {}, noLoading) {
           showError(response);
         }
       } else {
-        if (code == 602 || code == 601) {
+        if (code == 602 || code == 601 || code == 603) {
           uni.showModal({
             title: "提示",
             content: "登录已过期,请重新登录",