Skip to content

Commit 175991a

Browse files
committed
remove activecomponent watch
1 parent fe81b3c commit 175991a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/left-sidebar/ComponentTab/CreateMenuHTMLQueue.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ const endDrag = (event: Event) => {
183183
else dragDropSortHtmlElements();
184184
};
185185
186-
watch(activeComponent, () => {
187-
if (activeComponent.value !== "") {
188-
(store.componentMap[activeComponent.value] as Component).isActive = true;
189-
} else {
190-
(store.componentMap[activeComponent.value] as Component).isActive = false;
191-
}
192-
});
186+
// watch(activeComponent, () => {
187+
// if (activeComponent.value !== "") {
188+
// (store.componentMap[activeComponent.value] as Component).isActive = true;
189+
// } else {
190+
// (store.componentMap[activeComponent.value] as Component).isActive = false;
191+
// }
192+
// });
193193
</script>
194194

195195
<!-- <script>

0 commit comments

Comments
 (0)