From c8d7453ef88f52f629272bdd89cab8ff6ba6eb6e Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 14 十二月 2023 15:08:03 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/common/ztt-table.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 64d8045..fb445e3 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -245,6 +245,7 @@ :show-overflow-tooltip="!item.noShowTip" :width="inMemoryColWidth[item.prop] || item.width" :prop="item.prop" + align="center" > <template slot="header" slot-scope="scope"> <template v-if="item.isSearch"> @@ -324,7 +325,7 @@ <template v-if="!item.render"> <template v-if="item.formatter"> <span v-if="item.isTag" style="text-align: center;"> - <el-tag style="width:50px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> + <el-tag style="width:60px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> <span v-html="item.formatter(scope.row, item, scope.row[item.prop])"></span> </el-tag> </span> -- Gitblit v1.9.3