@@ -239,11 +239,12 @@ export default { | |||
.getBasicTableList(Object.assign({}, this.page, this.searchParams)) | |||
.then((res) => { | |||
let data = res.data.data; | |||
this.dataList = this.reduceData(data); | |||
console.log(data); | |||
this.count=data.total | |||
this.dataList = this.reduceData(data.records); | |||
}) | |||
.catch((e) => { | |||
this.dataList = []; | |||
this.count=0 | |||
}) | |||
.finally(() => { | |||
this.loading = false; |