fix: 修改G2引入图片资源路径,采用相对路径

main
wu.jian2 2 years ago
parent 37dfe44b65
commit 9453a0408d

@ -103,13 +103,13 @@ export default {
::v-deep .el-dialog__body {
position: relative;
padding: 0 !important;
min-height: 535px;
min-height: 550px;
overflow: hidden;
}
::v-deep .bs-container {
padding: 0;
min-height: 535px;
min-height: 550px;
.el-table {
max-height: calc(90vh - 350px);

@ -31,7 +31,7 @@ function getPlotList (files) {
name: config.name,
title: config.title,
icon: null,
img: require(`data-room-ui/G2Plots/images/componentLogo/${config.title}.png`),
img: require(`../G2Plots/images/componentLogo/${config.title}.png`),
className:
'com.gccloud.dataroom.core.module.chart.components.CustomComponentChart',
w: config?.option?.width || 450,

Loading…
Cancel
Save