From 93a26507f76156fa65aead1515c430688c089e1d Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 22 二月 2021 15:49:01 +0800 Subject: [PATCH] 新版目录树样式调试及状态更新调试;朔黄批量导入列表调试;视频检索页面添加处理参数,添加标注接口添加参数;分页器展示优化,默认检索时间调整;转储设备接口调试 --- vue.config.js | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index ee4c7aa..c5faf7a 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,13 +79,17 @@ 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' } }, + "/api-c": { + target: 'http://192.168.20.10:8004', + changeOrigin: true + }, "/api-v": { target: 'http://192.168.20.10:8000', changeOrigin: true -- Gitblit v1.8.0