fix:修改打包选项
This commit is contained in:
@ -138,7 +138,7 @@ const adjustHeaderPosition = () => {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
console.log("组件挂载后",props.componentData);
|
||||
// console.log("组件挂载后",props.componentData);
|
||||
});
|
||||
|
||||
watch(() => componentSelected.value, () => {
|
||||
|
||||
@ -78,7 +78,7 @@ const scheme = computed<IPageComponent>(() => props.scheme || {} as IPageCompone
|
||||
|
||||
// 使用 deep 选项来深度监听对象的变化
|
||||
watch(scheme, (value, oldValue) => {
|
||||
console.log("scheme Changed", value);
|
||||
// console.log("scheme Changed", value);
|
||||
if (value)
|
||||
store.updateScheme(value.id, value as IComponent);
|
||||
}, {deep: true});
|
||||
|
||||
Reference in New Issue
Block a user