Skip to content

Commit 4a4dc25

Browse files
committed
fix type error in createmnuhtmlqueue
1 parent 369b6fd commit 4a4dc25

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/App.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
/>
1010
</template>
1111

12-
<script>
13-
export default {
14-
name: "App",
15-
};
16-
</script>
17-
1812
<script setup>
1913
// import { defineComponent } from "vue";
2014
// import ElementPlus from 'element-plus'; // importing element plus component library

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const setLayer = (element: { text: string; id: string }) => {
147147
148148
const setParentLayer = () => {
149149
if (activeLayer.value.id !== "") {
150-
upOneLayer(activeLayer.value.id);
150+
upOneLayer(activeLayer.value.id as string);
151151
}
152152
};
153153

0 commit comments

Comments
 (0)