mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-03 18:12:13 +08:00
fix(vue-components): page-fragment-container不标记为不是node节点
This commit is contained in:
parent
cebf3506d4
commit
bf9fad18b6
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"name": "@tmagic/vue-page-fragment-container",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
@ -17,7 +17,6 @@ import { computed, defineComponent, type PropType, provide } from 'vue-demi';
|
||||
import {
|
||||
cloneDeep,
|
||||
type Id,
|
||||
IS_DSL_NODE_KEY,
|
||||
type MComponent,
|
||||
NodeType,
|
||||
PAGE_FRAGMENT_CONTAINER_ID_KEY,
|
||||
@ -61,10 +60,10 @@ export default defineComponent({
|
||||
traverseNode(fragmentConfigWithoutId, (node) => {
|
||||
node.id = '';
|
||||
});
|
||||
return { ...fragmentConfigWithoutId, [IS_DSL_NODE_KEY]: false };
|
||||
return fragmentConfigWithoutId;
|
||||
}
|
||||
|
||||
return { ...fragment.value, [IS_DSL_NODE_KEY]: false };
|
||||
return fragment.value;
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user