fix:析晶为null或这空时,不显示el-tag

This commit is contained in:
shijing 2025-12-18 10:01:36 +08:00
parent 90713c1dff
commit fb428464c2
1 changed files with 1 additions and 1 deletions

View File

@ -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