Skip to content

Commit f7ca688

Browse files
committed
work on importcomponent file
1 parent ba5af70 commit f7ca688

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
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>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ const parsingStringToState = (str: string) => {
140140
};
141141
142142
//the bulk of the work for this component
143+
// @ts-ignore
143144
const openVueFile = (data) => {
144145
if (data === undefined) return;
145146

src/components/right-sidebar/HTMLQueue.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ Description:
5959
</section>
6060
</template>
6161

62-
<script>
62+
<!-- <script>
6363
export default {
6464
name: "HTMLQueue",
6565
};
66-
</script>
66+
</script> -->
6767

6868
<script setup lang="ts">
6969
import { ref, computed, watch } from "vue";
@@ -252,7 +252,7 @@ const addBinding = (input: string, idNum: number) => {
252252
if (input === "") {
253253
return;
254254
}
255-
const payload : {binding: string, id: number} = {
255+
const payload: { binding: string; id: number } = {
256256
binding: input,
257257
id: idNum,
258258
};

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"dist",
4141
".quasar",
4242
"node_modules",
43+
"src",
4344
]
4445
}

0 commit comments

Comments
 (0)