改了一个变量名(没编译)

This commit is contained in:
Xu Chang 2024-05-07 12:32:37 +08:00
parent 9abbcd8f77
commit 475e93a229
1 changed files with 3 additions and 3 deletions

View File

@ -519,7 +519,7 @@ export function reRender<
const oakExecuting = this.features.runningTree.isExecuting(this.state.oakFullpath);
const oakExecutable = !oakExecuting && this.tryExecute();
// 现在取数据需要把runningTree上的更新应用了再取判定actions也一样
const cleanFn = this.features.runningTree.redoBranchOperations(this.state.oakFullpath);
const rollbackFn = this.features.runningTree.redoBranchOperations(this.state.oakFullpath);
try {
const rows = this.features.runningTree.getFreshValue(this.state.oakFullpath);
const oakLegalActions = rows && checkActionsAndCascadeEntities.call(
@ -578,11 +578,11 @@ export function reRender<
Object.assign(data, extra);
}
cleanFn && cleanFn();
rollbackFn && rollbackFn();
this.setState(data);
}
catch (err) {
cleanFn && cleanFn();
rollbackFn && rollbackFn();
throw err;
}
} else {