fix:析晶为null或这空时,不显示el-tag
This commit is contained in:
parent
90713c1dff
commit
fb428464c2
|
|
@ -119,7 +119,7 @@
|
||||||
prop="val_xj"
|
prop="val_xj"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag>{{state_xj[scope.row.val_xj]}}</el-tag>
|
<el-tag v-if="scope.row.val_xj!=null&&scope.row.val_xj!=''">{{state_xj[scope.row.val_xj]}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue