mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-03-17 11:13:33 +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",
|
"name": "@tmagic/vue-runtime-help",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -75,6 +75,7 @@ export const useApp = <T extends TMagicApp = TMagicApp>({
|
|||||||
config,
|
config,
|
||||||
iteratorContainerId,
|
iteratorContainerId,
|
||||||
iteratorIndex,
|
iteratorIndex,
|
||||||
|
pageFragmentContainerId,
|
||||||
}: UseAppOptions) => {
|
}: UseAppOptions) => {
|
||||||
const app = inject<T>('app');
|
const app = inject<T>('app');
|
||||||
|
|
||||||
@ -87,6 +88,7 @@ export const useApp = <T extends TMagicApp = TMagicApp>({
|
|||||||
config,
|
config,
|
||||||
iteratorContainerId,
|
iteratorContainerId,
|
||||||
iteratorIndex,
|
iteratorIndex,
|
||||||
|
pageFragmentContainerId,
|
||||||
},
|
},
|
||||||
app,
|
app,
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user