Skip to content

Commit

Permalink
fix: save page updateTreeData error (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling authored Sep 30, 2024
1 parent aa79110 commit 8507b65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/controller/js/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const handlePageUpdate = (pageId, params, routerChange, isCurEditPage) =>
}
}

pageSettingState.updateTreeData()
// 更新页面管理的列表,如果不存在,说明还没有打开过页面管理面板
pageSettingState.updateTreeData?.()
pageSettingState.isNew = false
useNotify({ message: '保存成功!', type: 'success' })

Expand Down

0 comments on commit 8507b65

Please sign in to comment.