fix:修复禁用属性绑定错误的问题

This commit is contained in:
lhj
2024-11-17 19:41:06 +08:00
parent 192ae66997
commit f25b03fff5

View File

@ -78,7 +78,7 @@ let componentsList = [];
const store = useSchemeStore();
watch(store, (n) => {
// console.log("store发生了变化", n);
console.log("store发生了变化", n);
});
const baseScheme = {
@ -153,7 +153,7 @@ function clone(element: Record<'name' | 'id' | 'type' | 'props' | 'class' | 'tex
style: element.style,
visible: element.visible,
slots: element.slots,
disable: element.visible,
disable: element.disable,
events: {},
loop: {},
body: element.body,
@ -165,6 +165,7 @@ function clone(element: Record<'name' | 'id' | 'type' | 'props' | 'class' | 'tex
footer:element.footer,
meta:element.meta,
};
}
const onPreViewAdd = (event: DraggableEvent) => {
@ -285,6 +286,7 @@ const view = () => {
.ghost {
background-color: #f2f3f5 !important;
}
overflow-y: auto;
}
.right {