code refactor

This commit is contained in:
MaysWind
2025-01-25 14:55:40 +08:00
parent a27a2556aa
commit c619d2ecad
10 changed files with 21 additions and 21 deletions
@@ -133,7 +133,7 @@ const selectedPrimaryItem = computed<unknown>(() => {
}
});
function close() {
function close(): void {
emit('update:show', false);
}
@@ -163,7 +163,7 @@ function onSheetOpen(event: { $el: Framework7Dom }): void {
scrollToSelectedItem(event.$el, '.secondary-list-container', 'li.secondary-list-item-selected');
}
function onSheetClosed() {
function onSheetClosed(): void {
close();
}
</script>