提交 7a28ae7b 编写于 作者: fxy060608's avatar fxy060608

fix(app): getPageIdByVm

上级 7ebdebc4
......@@ -12,6 +12,9 @@ export function useCurrentPageId() {
}
export function getPageIdByVm(vm: ComponentPublicInstance) {
if (vm.$page) {
return vm.$page.id
}
if (!vm.$) {
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册