style: alert rule & datacenter user.name调整

This commit is contained in:
zhangyu
2021-09-24 14:29:19 +08:00
parent a52d3d7004
commit 2a3d307902
6 changed files with 26 additions and 13 deletions

View File

@@ -58,7 +58,7 @@
<span v-else>-</span>
</template>
<template v-else-if="item.prop === 'receivers'">
<el-tag v-for="(user, index) in scope.row[item.prop]" v-if="user&&user.username" :key="index" class="alert-rule-tag" effect="dark" size="mini">{{user.name}}&nbsp;&nbsp;@{{user.username}}&nbsp;</el-tag>
<el-tag v-for="(user, index) in scope.row[item.prop]" v-if="user&&user.username" :key="index" class="alert-rule-tag" effect="dark" size="mini" :title="user.name">{{user.name}}&nbsp;&nbsp;</el-tag>
</template>
<template v-else-if="item.prop === 'state'">
<el-popover