fix: 修复运行状态变化时数据加载顺序问题

This commit is contained in:
AN
2025-05-25 17:01:04 +08:00
parent 1c64693774
commit ed1180696f

View File

@ -220,8 +220,8 @@ const { checkedRowKeys, onBatchDeleted, onDeleted } = useTableOperate(data, getD
watch(runningStatus, async () => {
const newApiFn = runningStatus.value ? fetchGetRunningProcessInstanceList : fetchGetFinishedProcessInstanceList;
updateApiFn(newApiFn);
reloadColumns();
await getDataByPage();
reloadColumns();
});
const { loading: treeLoading, startLoading: startTreeLoading, endLoading: endTreeLoading } = useLoading();