升级jianhujs版本到3.0.72

调整请求代码
This commit is contained in:
jam committed 2022-10-14 15:17:55 +08:00
1 parent e1812351ed
commit b9c93647dc
5 files changed
+22 -28

No files matched your search

+2 -2
View File
@@ -177,7 +177,7 @@
async refreshTableData() {
this.isTableLoading = true;
const serverSearchInput = _.pickBy(this.serverSearchInput, value => !!value);
const { data: { appData: { resultData: {rows} } } } = await window.jianghuAxios({
const { rows } = (await window.jianghuAxios({
data: {
appData: {
pageId: 'taskCreateManagement',
@@ -188,7 +188,7 @@
orderBy: [{ column: 'operationAt', order: 'desc' }]
}
}
});
})).data.appData.resultData;
rows.forEach(row => {
if(row.workflowConfig) {
row.workflowConfig = JSON.parse(row.workflowConfig).nodeList.map(item => [item.label, item.lineTypeList]);