mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-03-04 22:27:03 +00:00
fix(vue-runtime-help): useApp获取不到页面片中的node
This commit is contained in:
parent
eee87c6d01
commit
ecaa0f5f28
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"name": "@tmagic/vue-runtime-help",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
|
||||
@ -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,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user