mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix: 修复运行状态变化时数据加载顺序问题
This commit is contained in:
@ -220,8 +220,8 @@ const { checkedRowKeys, onBatchDeleted, onDeleted } = useTableOperate(data, getD
|
|||||||
watch(runningStatus, async () => {
|
watch(runningStatus, async () => {
|
||||||
const newApiFn = runningStatus.value ? fetchGetRunningProcessInstanceList : fetchGetFinishedProcessInstanceList;
|
const newApiFn = runningStatus.value ? fetchGetRunningProcessInstanceList : fetchGetFinishedProcessInstanceList;
|
||||||
updateApiFn(newApiFn);
|
updateApiFn(newApiFn);
|
||||||
reloadColumns();
|
|
||||||
await getDataByPage();
|
await getDataByPage();
|
||||||
|
reloadColumns();
|
||||||
});
|
});
|
||||||
|
|
||||||
const { loading: treeLoading, startLoading: startTreeLoading, endLoading: endTreeLoading } = useLoading();
|
const { loading: treeLoading, startLoading: startTreeLoading, endLoading: endTreeLoading } = useLoading();
|
||||||
|
|||||||
Reference in New Issue
Block a user