Browse Source

fix:出入库

yangchengfei 5 months ago
parent
commit
a86cfa296d
2 changed files with 4 additions and 2 deletions
  1. 2 1
      src/page/Layout/layout.vue
  2. 2 1
      src/page/home.vue

+ 2 - 1
src/page/Layout/layout.vue

@@ -70,7 +70,8 @@ export default {
70 70
     const isProd = process.env.NODE_ENV === "production";
71 71
     // let url;
72 72
     if (!isProd) {
73
-      this.url = `http://101.36.160.210:31055/crk/#/welcome/?username=${u}&password=${p}`;
73
+      // this.url = `http://101.36.160.210:31055/crk/#/welcome/?username=${u}&password=${p}`;
74
+      this.url = `http://101.36.160.210:31055/crk/?k_username=${u}&k_password=${p}`;
74 75
     } else {
75 76
       this.url = `http://172.18.93.228:80/#/welcome?username=${u}&password=${p}`;
76 77
     }

+ 2 - 1
src/page/home.vue

@@ -158,7 +158,8 @@ export default {
158 158
     const isProd = process.env.NODE_ENV === "production";
159 159
     // let url;
160 160
     if (!isProd) {
161
-      this.url = `http://101.36.160.210:31055/crk/#/welcome/?username=${u}&password=${p}`;
161
+      // this.url = `http://101.36.160.210:31055/crk/#/welcome/?username=${u}&password=${p}`;
162
+       this.url = `http://101.36.160.210:31055/crk/?k_username=${u}&k_password=${p}`;
162 163
     } else {
163 164
       this.url = `http://172.18.93.228:80/#/welcome?username=${u}&password=${p}`;
164 165
     }