feat(应用): 应用复用数据源时增加数据源有效标识

This commit is contained in:
wangjiahao 2023-01-11 17:51:27 +08:00
parent c9043ebd78
commit f58cc507e0

View File

@ -118,7 +118,33 @@
:key="item.id"
:label="item.name"
:value="item.id"
/>
>
<span
v-if="
item.status !== 'Error' &&
item.status !== 'Warning'
"
>
<svg-icon
icon-class="db-de"
/>
</span>
<span v-if="item.status === 'Error'">
<svg-icon
icon-class="de-ds-error"
class="ds-icon-scene"
/>
</span>
<span v-if="item.status === 'Warning'">
<svg-icon
icon-class="de-ds-warning"
class="ds-icon-scene"
/>
</span>
<span>
{{ item.name }}
</span>
</el-option>
</el-select>
</el-form-item>
</el-form>