fix(vue-runtime-help): useApp获取不到页面片中的node

This commit is contained in:
roymondchen 2026-02-02 19:07:44 +08:00
parent eee87c6d01
commit ecaa0f5f28
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "2.0.1",
"name": "@tmagic/vue-runtime-help",
"type": "module",
"sideEffects": false,

View File

@ -75,6 +75,7 @@ export const useApp = <T extends TMagicApp = TMagicApp>({
config,
iteratorContainerId,
iteratorIndex,
pageFragmentContainerId,
}: UseAppOptions) => {
const app = inject<T>('app');
@ -87,6 +88,7 @@ export const useApp = <T extends TMagicApp = TMagicApp>({
config,
iteratorContainerId,
iteratorIndex,
pageFragmentContainerId,
},
app,
);