From b37447fc125a9e7cd6c1799e8a0359bfa187e663 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 20 八月 2025 14:33:19 +0800 Subject: [PATCH] 部署修改 --- src/components/PIMTable/PIMTable.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue index d1b778d..c0a67a6 100644 --- a/src/components/PIMTable/PIMTable.vue +++ b/src/components/PIMTable/PIMTable.vue @@ -124,7 +124,6 @@ <template v-for="(o, key) in item.operation" :key="key"> <el-button v-show="o.type != 'upload'" - size="small" v-if="o.showHide ? o.showHide(scope.row) : true" :disabled="o.disabled ? o.disabled(scope.row) : false" :plain="o.plain" @@ -149,7 +148,6 @@ (o.uploadIdFun ? o.uploadIdFun(scope.row) : scope.row.id) " ref="uploadRef" - size="small" :multiple="o.multiple ? o.multiple : false" :limit="1" :disabled="o.disabled ? o.disabled(scope.row) : false" @@ -178,7 +176,6 @@ :show-file-list="false" > <el-button - :size="o.size ? o.size : 'small'" link type="primary" :disabled="o.disabled ? o.disabled(scope.row) : false" @@ -207,8 +204,8 @@ </el-table-column> </el-table> <pagination - v-show="total > 0" - :total="total" + v-if="page.total > 0" + :total="page.total" :layout="page.layout" :page="page.current" :limit="page.size" @@ -245,7 +242,7 @@ }, height: { type: [Number, String], - default: "calc(100vh - 18.5em)", + default: "calc(100vh - 22em)", }, expandRowKeys: { type: Array, @@ -301,7 +298,7 @@ }, rowKey: { type: String, - default: undefined, + default: 'id', }, page: { type: Object, -- Gitblit v1.9.3