refactor(client): use setup syntax

This commit is contained in:
syuilo
2022-09-06 17:37:58 +09:00
parent 9db2380c20
commit eff9cdd8a7
4 changed files with 89 additions and 163 deletions

View File

@@ -31,14 +31,4 @@ defineProps<{
const emit = defineEmits<{
(ev: 'parent-focus', direction: 'up' | 'down' | 'left' | 'right'): void;
}>();
/*
export default defineComponent({
methods: {
focus() {
this.$children[0].focus();
}
}
});
*/
</script>

View File

@@ -52,20 +52,6 @@ const menu = [{
text: i18n.ts.selectList,
action: setList,
}];
/*
function focus() {
timeline.focus();
}
export default defineComponent({
watch: {
mediaOnly() {
(this.$refs.timeline as any).reload();
}
}
});
*/
</script>
<style lang="scss" scoped>