[集群-自动切换过国标级联] 平台列表增加区分本平台标识

dev/数据库统合
648540858 2025-01-02 16:49:50 +08:00
parent 157d0a1e71
commit 4426180eba
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@
<el-table-column label="是否启用" min-width="80">
<template v-slot:default="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.enable"></el-tag>
<el-tag size="medium" v-if="scope.row.enable && Vue.prototype.$myServerId !== scope.row.serverId" style="border-color: #ecf1af"></el-tag>
<el-tag size="medium" v-if="scope.row.enable && Vue.prototype.$myServerId === scope.row.serverId"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enable"></el-tag>
</div>
</template>