修改请求

This commit is contained in:
qq787203167
2022-02-22 10:25:56 +08:00
parent bf1300190b
commit c5fde84fe1
+6 -1
View File
@@ -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