fix:调整删除逻辑
This commit is contained in:
@ -76,7 +76,8 @@ const isHovered = ref(false);
|
||||
const handleClick = () => {
|
||||
const currentComponent = getCurrentSchemeObj();
|
||||
if (currentComponent) {
|
||||
store.nowComponentsData = currentComponent
|
||||
|
||||
store.updateNowScheme(currentComponent);
|
||||
console.log(`Component with id ${currentComponent?.id} was clicked.`);
|
||||
// 你可以在这里执行更多的逻辑,例如发出一个事件或调用一个方法
|
||||
}
|
||||
@ -137,7 +138,7 @@ const adjustHeaderPosition = () => {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
console.log(props.componentData);
|
||||
console.log("组件挂载后",props.componentData);
|
||||
});
|
||||
|
||||
watch(() => componentSelected.value, () => {
|
||||
|
||||
Reference in New Issue
Block a user