perf: v-for报错调整

This commit is contained in:
chenjinsong
2020-05-12 10:47:36 +08:00
parent 8a4cc3e1c7
commit 4a9f1063a8
2 changed files with 2 additions and 0 deletions

View File

@@ -90,6 +90,7 @@
<template v-else-if="item.prop == 'labels'">
<nz-alert-tag :label="key" type="info" style="margin: 5px;"
:cursor-point="false"
:key="key"
v-if="key != 'alertname' && key != 'severity'"
v-for="(value, key) in scope.row.labels">{{value}}</nz-alert-tag>
<!--<el-tag v-if="key != 'alertname' && key != 'severity'"