From 82732610befafe88ae9512c9ac37e6a4bcf291c7 Mon Sep 17 00:00:00 2001
From: XingChuan <m17600301067@163.com>
Date: 星期日, 30 五月 2021 22:59:44 +0800
Subject: [PATCH] 废气小时数据、日数据、人工数据接口替换;增加点位id、检测项id查询;无数据提示;UI优化。
---
vue.config.js | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 869164e..64bf2b6 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,5 +1,5 @@
const appConfig = require('./src/app.config')
-
+const path = require('path')
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? `/${appConfig.projectName}/` : '/',
configureWebpack: config => {
@@ -16,10 +16,18 @@
},
parallel: require('os').cpus().length > 1, // 鏋勫缓鏃跺紑鍚杩涚▼澶勭悊babel缂栬瘧
productionSourceMap: false,
+ pluginOptions: {
+ 'style-resources-loader': {
+ preProcessor: 'less',
+ patterns: [
+ path.resolve(__dirname, './src/assets/css/map/_map-variable.less')
+ ]
+ }
+ },
devServer: {
- host: 'localhost',
- open: true,
- port: 8888,
+ // host: 'localhost',
+ // open: true,
+ port: 8080,
// overlay: false,
overlay: {
warnings: true,
--
Gitblit v1.8.0