修复 修改阶段直接进行仿真策划,阶段显示bug
This commit is contained in:
@@ -165,8 +165,8 @@ const updateBaseInfo = (info: any) => {
|
||||
}
|
||||
};
|
||||
|
||||
const refresh = () => {
|
||||
getNodeDetailFun();
|
||||
const refresh = async () => {
|
||||
await getNodeDetailFun();
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
@@ -360,11 +360,13 @@ const updateCurrentProjectBaseInfo = (projectInfo: any) => {
|
||||
|
||||
const loadcaseRef = ref();
|
||||
|
||||
const completeFun = (page: string) => {
|
||||
const completeFun = async (page: string) => {
|
||||
if (page === 'projectBasePage') {
|
||||
basePageRef.value.refresh();
|
||||
}
|
||||
if (page === 'phasePage') {
|
||||
// 先刷新阶段信息 (刷新currentProjectInfo.currentPhase)
|
||||
await basePageRef.value.refresh();
|
||||
loadcaseRef.value.refreshPhaseList();
|
||||
}
|
||||
if (page === 'taskPlanPage') {
|
||||
|
||||
Reference in New Issue
Block a user