From 0175cda6150656bc74b34c6f6c71edd1e1fc653c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 04 二月 2021 18:22:54 +0800
Subject: [PATCH] treee, 修复tab切换时树的选中状态.添加区域

---
 vue.config.js |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index c5d38e8..e619261 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,18 @@
         // 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-c": {
+        target: 'http://192.168.20.113:8004',
+        changeOrigin: true
+      },
       "/api-v": {
         target: 'http://192.168.20.10:8000',
         changeOrigin: true

--
Gitblit v1.8.0