diff --git a/jero-web/src/components/tableDate/index.vue b/jero-web/src/components/tableDate/index.vue index c130cda8d..6efa814b5 100644 --- a/jero-web/src/components/tableDate/index.vue +++ b/jero-web/src/components/tableDate/index.vue @@ -101,11 +101,16 @@ ellipsis: true }) }) + let width + if (this.OperationList.length > 0){ + width = this.OperationList.length * 55 + } if (this.showAction) { this.columns.push({ title: '操作', align: 'center', fixed: 'right', + width: width, scopedSlots: { customRender: 'operation' } }) } @@ -119,7 +124,7 @@ pageSize: this.pageSize } this.loading = true - getAction(this.url.tableList, params).then((res) => { + postAction(this.url.tableList, params).then((res) => { if (res.success) { this.dataSource = res.result.records this.total = res.result.total