shaogen1995 il y a 3 ans
Parent
commit
fa52917368

+ 4 - 3
new_backstage/src/configue/http.js

@@ -7,9 +7,10 @@ const vue = new Vue();
 
 var isProduction = process.env.NODE_ENV === "production";
 let loading = "";
-
-// const serverName = isProduction ? "/" : "http://192.168.0.245:8003/";
-const serverName = isProduction ? "/" : "http://192.168.0.135:8003/";
+// 线上打包
+const serverName = isProduction ? "/" : "http://192.168.0.245:8003/";
+// 线下调试
+// const serverName = isProduction ? "/" : "http://192.168.0.135:8003/";
 
 const serverLocation = window.location.hostname;
 

+ 1 - 1
new_backstage/src/pages/layout/aside.vue

@@ -79,7 +79,7 @@ export default {
         method: "GET",
         url: "/sys/resource/getTreePermissions",
       });
-      
+      // console.log(123,result);
       // 把权限本地存储起来,用来管理新增的功能自定义模块
        localStorage.setItem('XJ_limits_ZDY',JSON.stringify(result.data[1].children[3].children))
 

+ 4 - 3
web/src/config/http.js

@@ -1,9 +1,10 @@
 import axios from 'axios'
 
 var isProduction = process.env.NODE_ENV === 'production'
-
-// const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
-const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
+// 线上打包
+const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
+// 线下调试
+// const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
 
 const orginLink = window.location.origin
 

+ 1 - 1
web/src/views/collection/index.vue

@@ -77,7 +77,7 @@ export default {
       },
       type: [],
       paging: {
-        pageSize: 1,
+        pageSize: 12,
         pageNum: 1,
         total: 0,
         showSize: 8,