升级jianhujs版本到3.0.72
调整请求代码
This commit is contained in:
1 parent
e1812351ed
commit
b9c93647dc
5 files changed
+22
-28
No files matched your search
@@ -119,7 +119,7 @@ new Vue({
|
||||
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: 'workflowManagement',
|
||||
@@ -130,7 +130,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