From c99cad106ef5be9f818e45d385dfdcec29ce19e5 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 03 十二月 2020 16:52:24 +0800
Subject: [PATCH] 修复绘制多边形撤销错误的bug

---
 vue.config.js |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index ee4c7aa..f276d7a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,8 +12,7 @@
     entry: path,
     template: 'public/index.html',
     title: chunk == 'desktop/index' ? 'SmartAI' : chunk,
-    chunks: [chunk_vendor, 'chunk-common', chunk],
-    faviconPath: "favicon.png"
+    chunks: [chunk_vendor, 'chunk-common', chunk]
   }
   if (chunk != 'index') {
     pages[chunk].filename = 'view/' + chunk + '.html'
@@ -61,6 +60,12 @@
   },
   productionSourceMap: false,
   filenameHashing: false,
+  pwa: {
+    iconPaths: {
+      favicon32: 'favicon.ico',
+      favicon16: 'favicon.ico'
+    }
+  },
   devServer: {
     proxy: {
       '/track': {
@@ -74,8 +79,8 @@
         changeOrigin: true,
       },
       "/data/api-v/app/findAllApp": {
-        target: '/',
-        // target: 'http://localhost:8080/',
+        // target: '/',
+        target: 'http://localhost:8080/',
         changeOrigin: true,
         pathRewrite: {
           '^/data/api-v/app/findAllApp': 'apps.json'

--
Gitblit v1.8.0