flat:暂存
This commit is contained in:
@@ -417,10 +417,11 @@ export default {
|
|||||||
if (resData.data.code === 200) {
|
if (resData.data.code === 200) {
|
||||||
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
|
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const {records, total, size, current} = resData.data.data
|
// const {records, total, size, current} = resData.data.data
|
||||||
this.rightLoading = false
|
this.rightLoading = false
|
||||||
this.rightDataList = records
|
// this.rightDataList = records
|
||||||
this.rightPages = {total, size, currentPage: current}
|
this.rightPages = {total: resData.data.data.length, currentPage: 1}
|
||||||
|
this.rightDataList = resData.data.data
|
||||||
}, timed)
|
}, timed)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -417,10 +417,12 @@ export default {
|
|||||||
if (resData.data.code === 200) {
|
if (resData.data.code === 200) {
|
||||||
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
|
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const {records, total, size, current} = resData.data.data
|
// const {records, total, size, current} = resData.data.data
|
||||||
this.rightLoading = false
|
this.rightLoading = false
|
||||||
this.rightDataList = records
|
// this.rightDataList = records
|
||||||
this.rightPages = {total, size, currentPage: current}
|
// this.rightPages = {total, size, currentPage: current}
|
||||||
|
this.rightPages = {total: resData.data.data.length, currentPage: 1}
|
||||||
|
this.rightDataList = resData.data.data
|
||||||
}, timed)
|
}, timed)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user