修复服务监控页面状态标签在第一次加载时报错

This commit is contained in:
wu
2022-08-22 15:57:06 +08:00
parent 20cd6e0f3a
commit 98b97af791

View File

@@ -10,6 +10,7 @@
<span <span
>前置服务 {{ item.server_name }} ({{ item.url }}:{{ item.port }} ) >前置服务 {{ item.server_name }} ({{ item.url }}:{{ item.port }} )
<el-tag <el-tag
v-if="item.status !== undefined"
:color="serveStatus[item.status].backgroundColor" :color="serveStatus[item.status].backgroundColor"
:style="{color:serveStatus[item.status].textColor,borderColor:serveStatus[item.status].borderColor}" :style="{color:serveStatus[item.status].textColor,borderColor:serveStatus[item.status].borderColor}"
> >