mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-13 22:12:11 +08:00
feat: 大屏优化
This commit is contained in:
parent
c13a56a1c0
commit
f18343603f
2
.env
2
.env
@ -6,4 +6,4 @@ VITE_DEV_PATH = 'http://192.168.0.34:8024'
|
|||||||
# VITE_DEV_PATH = 'http://192.168.0.120:3001'
|
# VITE_DEV_PATH = 'http://192.168.0.120:3001'
|
||||||
|
|
||||||
# production path
|
# production path
|
||||||
VITE_PRO_PATH = 'http://192.168.0.34:8024'
|
# VITE_PRO_PATH = 'http://192.168.0.34:11887'
|
||||||
|
@ -44,7 +44,7 @@ const prodProxy = (mode:any) => {
|
|||||||
// 生产list页缩略图 开发时注释掉
|
// 生产list页缩略图 开发时注释掉
|
||||||
'/svgConfig/customLargeScreen/data/file': {
|
'/svgConfig/customLargeScreen/data/file': {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
target: loadEnv(mode, process.cwd()).VITE_DEV_PATH,
|
target: loadEnv(mode, process.cwd()).VITE_PRO_PATH,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path:any) => {
|
rewrite: (path:any) => {
|
||||||
console.log(path.replace(new RegExp(`^/svgConfig/customLargeScreen/data/file`), '/data/file'))
|
console.log(path.replace(new RegExp(`^/svgConfig/customLargeScreen/data/file`), '/data/file'))
|
||||||
|
@ -19,6 +19,6 @@ export default class Config extends PublicConfigClass implements CreateComponent
|
|||||||
public chartConfig = cloneDeep(Theme1Config)
|
public chartConfig = cloneDeep(Theme1Config)
|
||||||
public option = cloneDeep(option)
|
public option = cloneDeep(option)
|
||||||
public customData = cloneDeep({
|
public customData = cloneDeep({
|
||||||
title: '中国建设银行广东省分行中心机房监控系统',
|
title: '',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user