fix: 气泡地图图标优化

This commit is contained in:
fit2cloud-chenyw 2022-04-06 19:29:32 +08:00
parent 2c3e88ca9a
commit 9b9238ee76
3 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@
</el-row> </el-row>
</el-row> </el-row>
<el-row class="chart-box" style="text-align: center;"> <el-row class="chart-box" style="text-align: center;">
<svg-icon :icon-class="view.isPlugin ? ('/api/pluginCommon/staticInfo/' + view.type + '/svg') : view.type" class="chart-icon" /> <svg-icon :icon-class="view.isPlugin && view.type && view.type !== 'buddle-map' ? ('/api/pluginCommon/staticInfo/' + view.type + '/svg') : view.type" class="chart-icon" />
</el-row> </el-row>
</el-row> </el-row>

View File

@ -154,7 +154,7 @@
<span>{{ $t('chart.chart_type') }}</span> <span>{{ $t('chart.chart_type') }}</span>
<el-row style="padding: 4px 0 4px 10px;"> <el-row style="padding: 4px 0 4px 10px;">
<span> <span>
<svg-icon :icon-class="view.isPlugin ? ('/api/pluginCommon/staticInfo/' + view.type + '/svg') : view.type" class="chart-icon" /> <svg-icon :icon-class="view.isPlugin && view.type && view.type !== 'buddle-map' ? ('/api/pluginCommon/staticInfo/' + view.type + '/svg') : view.type" class="chart-icon" />
</span> </span>
<span style="float: right;"> <span style="float: right;">
<el-popover <el-popover

View File

@ -46,7 +46,7 @@
<svg-icon icon-class="panel" class="ds-icon-scene" /> <svg-icon icon-class="panel" class="ds-icon-scene" />
</span> </span>
<span v-else> <span v-else>
<svg-icon :icon-class="data.isPlugin ? ('/api/pluginCommon/staticInfo/' + data.modelInnerType + '/svg') : data.modelInnerType" style="width: 14px;height: 14px" /> <svg-icon :icon-class="view.isPlugin && view.type && view.type !== 'buddle-map' ? ('/api/pluginCommon/staticInfo/' + data.modelInnerType + '/svg') : data.modelInnerType" style="width: 14px;height: 14px" />
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>