From 19c4815aeb69fc06f6f33e5b013e5c459101d1f0 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 03 十二月 2020 18:07:21 +0800
Subject: [PATCH] 去除双横向滚动条显示,统计查询左侧目录树切换触发全部数据查询

---
 vue.config.js |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index c5d38e8..f276d7a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -56,10 +56,16 @@
     })
 
     // config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', publicPath: '../' })
-
+    //config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', outputPath: '../' })
   },
   productionSourceMap: false,
   filenameHashing: false,
+  pwa: {
+    iconPaths: {
+      favicon32: 'favicon.ico',
+      favicon16: 'favicon.ico'
+    }
+  },
   devServer: {
     proxy: {
       '/track': {
@@ -72,6 +78,14 @@
         // ws: true,
         changeOrigin: true,
       },
+      "/data/api-v/app/findAllApp": {
+        // target: '/',
+        target: 'http://localhost:8080/',
+        changeOrigin: true,
+        pathRewrite: {
+          '^/data/api-v/app/findAllApp': 'apps.json'
+        }
+      },
       "/api-v": {
         target: 'http://192.168.20.10:8000',
         changeOrigin: true

--
Gitblit v1.8.0