请求结果结构更新

This commit is contained in:
Jam committed 2022-11-04 14:06:45 +08:00
1 parent c9c16e9d26
commit bd8f8b97fa
4 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -96,7 +96,7 @@ new Vue({
*/
async refreshTableData() {
this.isTableLoading = true;
const {data: {appData: {resultData: {rows}}}} = await window.jianghuAxios({
const {rows} = (await window.jianghuAxios({
data: {
appData: {
pageId: 'taskICreateManagement',
@@ -106,7 +106,7 @@ new Vue({
orderBy: [{column: 'operationAt', order: 'desc'}]
}
}
});
})).data.appData.resultData;
rows.forEach(row => {
row.operationAt = dayjs(row.operationAt).format('YYYY-MM-DD HH:mm:ss');