未符合项列表接口
This commit is contained in:
@@ -266,7 +266,7 @@ export default {
|
||||
{
|
||||
title: this.$t('creator'),
|
||||
align: 'left',
|
||||
dataIndex: 'creator',
|
||||
dataIndex: 'createBy',
|
||||
width: 100,
|
||||
sorter:true,
|
||||
ellipsis: true
|
||||
@@ -411,12 +411,12 @@ export default {
|
||||
this.loading = true
|
||||
getAction(this.url.page, query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
if (res.result.current > 1 && res.result.length == 0) {
|
||||
this.pageNo = 1
|
||||
this.getList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
this.dataSource = res.result || []
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user