Merge pull request #2369 from dataease/dev

Dev
This commit is contained in:
王嘉豪 2022-06-01 12:17:54 +08:00 committed by GitHub
commit 09af5f8180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -33,6 +33,7 @@
chart_view.create_time,
chart_view.update_time,
chart_view.style_priority,
ifnull(chart_view.is_plugin,0) as 'is_plugin',
panel_view.panel_id,
dataset_table_field.id as 'field_id',
dataset_table_field.origin_name,

View File

@ -95,10 +95,13 @@
:label="item.name"
:value="item.id"
>
<span style="float: left">
<span v-if="item.isPlugin" style="float: left">
<svg-icon :icon-class="item.type !== 'buddle-map' ? ('/api/pluginCommon/staticInfo/' + item.type + '/svg') : item.type" style="width: 14px;height: 14px" />
</span>
<span v-else style="float: left">
<svg-icon :icon-class="item.type" style="width: 14px;height: 14px" />
</span>
<span style="float: left; font-size: 12px"> {{ item.name }}</span>
<span style="float: left; font-size: 12px">{{ item.name }}</span>
</el-option>
</el-select>
</div>

View File

@ -81,7 +81,10 @@
:label="item.name"
:value="item.id"
>
<span style="float: left">
<span v-if="item.isPlugin" style="float: left">
<svg-icon :icon-class="item.type !== 'buddle-map' ? ('/api/pluginCommon/staticInfo/' + item.type + '/svg') : item.type" style="width: 14px;height: 14px" />
</span>
<span v-else style="float: left">
<svg-icon :icon-class="item.type" style="width: 14px;height: 14px" />
</span>
<span style="float: left; font-size: 12px"> {{ item.name }}</span>