请求结果结构更新
This commit is contained in:
1 parent
c9c16e9d26
commit
bd8f8b97fa
4 files changed
+14
-14
No files matched your search
@@ -103,7 +103,7 @@ new Vue({
|
||||
*/
|
||||
async refreshTableData() {
|
||||
this.isTableLoading = true;
|
||||
const {data: {appData: {resultData: {rows}}}} = await window.jianghuAxios({
|
||||
const {rows} = (await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'workflowManagement',
|
||||
@@ -111,7 +111,7 @@ new Vue({
|
||||
orderBy: [{column: 'operationAt', order: 'desc'}]
|
||||
}
|
||||
}
|
||||
});
|
||||
})).data.appData.resultData;
|
||||
for (const item of rows) {
|
||||
item.workflowConfig = item.workflowConfig ? JSON.parse(item.workflowConfig) : null;
|
||||
item.workflowForm = item.workflowForm ? JSON.parse(item.workflowForm) : [];
|
||||
|
||||
Reference in new issue
Block a user