fix: 添加图片以及打包报错处理
2
.env
@ -5,7 +5,7 @@ VITE_DEV_PORT = '8080'
|
||||
# VITE_DEV_PATH = 'http://192.168.0.34:11887'
|
||||
VITE_DEV_PATH = 'http://192.168.0.34:8025/'
|
||||
# VITE_DEV_PATH = 'http://192.168.0.120:3001'
|
||||
VITE_DEV_TOKEN = "6d3db4a4-bcf6-47f7-8764-3b95f4f9b4d3"
|
||||
VITE_DEV_TOKEN = "1c476210-ddea-4f3f-bd82-832fd5df020d"
|
||||
|
||||
# production path
|
||||
# VITE_PRO_PATH = 'http://192.168.0.235:8177'
|
||||
|
10777
package-lock.json
generated
Normal file
Before Width: | Height: | Size: 1.5 MiB |
BIN
src/assets/images/chart/charts/PieCommon3.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/assets/images/chart/customponents/AlarmLevelStatistic.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/images/chart/customponents/AlarmTrend.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
src/assets/images/chart/customponents/ClassifiedStatistic.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
src/assets/images/chart/customponents/Overview.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/images/chart/customponents/RoomTemperature.png
Normal file
After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 1.5 MiB |
@ -87,7 +87,7 @@ export default ({ mode } : { mode:any }) => defineConfig({
|
||||
})
|
||||
],
|
||||
build: {
|
||||
target: 'es2015',
|
||||
target: 'es2020', // babel打包转译报错
|
||||
outDir: OUTPUT_DIR,
|
||||
// minify: 'terser', // 如果需要用terser混淆,可打开这两行
|
||||
// terserOptions: terserOptions,
|
||||
|