Merge pull request #4353 from dataease/pr@dev@feat_app-copy

feat(应用): 应用复用数据源时增加数据源有效标识
This commit is contained in:
王嘉豪 2023-01-11 17:55:52 +08:00 committed by GitHub
commit fa85f1ac24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>