|
@@ -21,11 +21,12 @@ export const View = defineComponent({
|
|
|
compId: string().isRequired,
|
|
|
editlayer: bool().def(true),
|
|
|
showMask: bool().def(false),
|
|
|
+ meta: bool().def(true),
|
|
|
},
|
|
|
emits: ["dblclick", "click"],
|
|
|
setup(props, { slots, emit, attrs }) {
|
|
|
const { store, actions, helper, controls } = useEditor();
|
|
|
- const compRef = useCompRef(props.compId);
|
|
|
+ const compRef = useCompRef(props.compId, props.meta);
|
|
|
const editorLayerRef = props.editlayer
|
|
|
? useCompEditLayerRef(props.compId)
|
|
|
: ref();
|