Browse Source

feat:更新代码

jinx 3 years ago
parent
commit
00578c070f
2 changed files with 7 additions and 7 deletions
  1. 6 6
      config/index.js
  2. 1 1
      src/page/layout/slide.vue

+ 6 - 6
config/index.js

@@ -11,15 +11,15 @@ module.exports = {
     assetsSubDirectory: 'static',
     assetsPublicPath: '/',
     proxyTable: {
-      '/api': {    //将www.exaple.com印射为/apis
+      '/api': { // 将www.exaple.com印射为/apis
         // target: 'https://www.4dkankan.com',  // 接口域名
         // target: 'http://192.168.0.174:8080', // 博焱接口域名
         target: 'https://test.4dkankan.com', // 接口域名
-        secure: false,  // 如果是https接口,需要配置这个参数
-        changeOrigin: true,  //是否跨域
+        secure: false, // 如果是https接口,需要配置这个参数
+        changeOrigin: true, // 是否跨域
         pathRewrite: {
-            '^/api': '/api'   //需要rewrite的,
-        }              
+          '^/api': '/api' // 需要rewrite的,
+        }
       }
     },
 
@@ -67,7 +67,7 @@ module.exports = {
      * Source Maps
      */
 
-    productionSourceMap: true,
+    productionSourceMap: false,
     // https://webpack.js.org/configuration/devtool/#production
     devtool: '#source-map',
 

+ 1 - 1
src/page/layout/slide.vue

@@ -88,7 +88,7 @@ export default {
           { text: '场景管理', link: { name: 'scene' } },
           { text: '反馈消息', link: { name: 'feedback' } },
           // { text: '设备管理', link: {name: 'device'} },
-          { text: 'app管理', link: { name: 'appupload' } },
+          // { text: 'app管理', link: { name: 'appupload' } },
           { text: '客户管理', link: { name: 'client' } }
         ],
         top: 154