mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add child level context menu
- more typescript
This commit is contained in:
@@ -6,18 +6,14 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
setup(props, { emit }) {
|
||||
function loadMore() {
|
||||
emit("loadMore");
|
||||
}
|
||||
<script setup lang="ts">
|
||||
const emit = defineEmits<{
|
||||
(e: "loadMore"): void;
|
||||
}>();
|
||||
|
||||
return {
|
||||
loadMore,
|
||||
};
|
||||
},
|
||||
};
|
||||
function loadMore() {
|
||||
emit("loadMore");
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@@ -42,4 +38,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user