mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-13 04:40:24 +08:00
refactor: 图标优化等
This commit is contained in:
@@ -28,7 +28,12 @@
|
||||
<span v-if="data.type == NodeType.DbInst">
|
||||
<el-popover placement="right-start" title="数据库实例信息" trigger="hover" :width="210">
|
||||
<template #reference>
|
||||
<el-icon>
|
||||
<img v-if="data.params.type === 'mysql'" src="@/assets/icon/mysql.png"
|
||||
class="img-icon" />
|
||||
<img v-if="data.params.type === 'postgres'" src="@/assets/icon/postgres.png"
|
||||
class="img-icon" />
|
||||
|
||||
<el-icon v-else>
|
||||
<InfoFilled />
|
||||
</el-icon>
|
||||
</template>
|
||||
@@ -64,8 +69,6 @@
|
||||
<el-icon v-if="data.type == NodeType.SqlMenu || data.type == NodeType.Sql">
|
||||
<Files color="#f56c6c" />
|
||||
</el-icon>
|
||||
|
||||
|
||||
</template>
|
||||
</tag-tree>
|
||||
</el-col>
|
||||
|
||||
Reference in New Issue
Block a user