修改请求
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user