Compare commits
2 Commits
0f13006f4e
...
2206791c77
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2206791c77 | ||
|
|
c0fa8c8f0c |
@@ -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