From 0fffeb2bb605305a8cd34c0af855c7621fc4af86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com> Date: Mon, 10 Nov 2025 17:53:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dsvg=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/测试.svg | 2 +- src/views/dashboard/demo/components/ParameterInfo.vue | 8 +++++++- src/views/dashboard/demo/components/staticSvg.vue | 3 ++- src/views/dashboard/demo/components/svg.vue | 1 - 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/public/测试.svg b/public/测试.svg index 5dc03ab..f898eff 100644 --- a/public/测试.svg +++ b/public/测试.svg @@ -1 +1 @@ -高背压凝汽器
收球网
收球网
收球网
收球网
低背压凝汽器
装球室
装球室
装球室
装球室
M
M
S
S
M
M
M
M
A
A
234.89
234.89
46.43
46.43
Mpa
Mpa
0.24
0.24
M
M
S
S
M
M
M
M
A
A
231.60
231.60
46.43
46.43
Mpa
Mpa
0.22
0.22
M
M
S
S
M
M
M
M
A
A
-0.21
-0.21
46.43
46.43
Mpa
Mpa
-0.00
-0.00
M
M
M
M
M
M
A
A
0.02
0.02
Mpa
Mpa
-0.00
-0.00
高位油箱
M
M
M
M
M
M
至厂外排污沟
至厂外排污沟
低位油箱
M
M
M
M
Mpa
Mpa
0.22
0.22
Mpa
Mpa
0.22
0.22
Mpa
Mpa
0.22
0.22
47.06
47.06
44.51
44.51
44.45
44.45
47.19
47.19
47.44
47.44
-88.37
-88.37
37.82
37.82
38.20
38.20
32.77
32.77
32.77
32.77
32.00
32.00
32.00
32.00
Kpa
Kpa
-90.70
-90.70
B侧
B侧
A侧
A侧
循泵A
循泵A
循泵B
循泵B
循泵C
循泵C
辅助循泵D
辅助循泵D
Text is not SVG - cannot display
\ No newline at end of file +高背压凝汽器
收球网
收球网
收球网
收球网
低背压凝汽器
装球室
装球室
装球室
装球室
M
M
S
S
M
M
M
M
A
A
234.89
234.89
46.43
46.43
Mpa
Mpa
0.24
0.24
M
M
S
S
M
M
M
M
A
A
231.60
231.60
46.43
46.43
Mpa
Mpa
0.22
0.22
M
M
S
S
M
M
M
M
A
A
-0.21
-0.21
46.43
46.43
Mpa
Mpa
-0.00
-0.00
M
M
M
M
M
M
A
A
0.02
0.02
Mpa
Mpa
-0.00
-0.00
高位油箱
M
M
M
M
M
M
至厂外排污沟
至厂外排污沟
低位油箱
M
M
M
M
Mpa
Mpa
0.22
0.22
Mpa
Mpa
0.22
0.22
Mpa
Mpa
0.22
0.22
47.06
47.06
44.51
44.51
44.45
44.45
47.19
47.19
47.44
47.44
-88.37
-88.37
37.82
37.82
38.20
38.20
32.77
32.77
32.77
32.77
32.00
32.00
32.00
32.00
Kpa
Kpa
-90.70
-90.70
B侧
B侧
A侧
A侧
循泵A
循泵A
循泵B
循泵B
循泵C
循泵C
辅助循泵D
辅助循泵D
Text is not SVG - cannot display
\ No newline at end of file diff --git a/src/views/dashboard/demo/components/ParameterInfo.vue b/src/views/dashboard/demo/components/ParameterInfo.vue index a3c81f3..3f6ab59 100644 --- a/src/views/dashboard/demo/components/ParameterInfo.vue +++ b/src/views/dashboard/demo/components/ParameterInfo.vue @@ -38,6 +38,7 @@ const [registerTable, { setTableData }] = useTable({ useSearchForm: false, showTableSetting: false, showIndexColumn: false, + }) // 页面挂载时批量请求并更新数据(避免在模板中调用异步) onBeforeUpdate(async () => { @@ -86,7 +87,10 @@ onBeforeUpdate(async () => { 更多 --> - + @@ -97,5 +101,7 @@ onBeforeUpdate(async () => { diff --git a/src/views/dashboard/demo/components/staticSvg.vue b/src/views/dashboard/demo/components/staticSvg.vue index 880e14a..f455fb0 100644 --- a/src/views/dashboard/demo/components/staticSvg.vue +++ b/src/views/dashboard/demo/components/staticSvg.vue @@ -43,6 +43,7 @@ function fullScreen() { diff --git a/src/views/dashboard/demo/components/svg.vue b/src/views/dashboard/demo/components/svg.vue index 038964a..d2d4f3f 100644 --- a/src/views/dashboard/demo/components/svg.vue +++ b/src/views/dashboard/demo/components/svg.vue @@ -240,7 +240,6 @@ defineExpose({ width: 100%; height:100%; min-height: 300px; - padding: 10px; overflow: auto; }