refactor(client): use setup syntax

This commit is contained in:
syuilo
2022-09-02 00:22:31 +09:00
parent d9ff2dd471
commit 25f4c8688a
3 changed files with 90 additions and 118 deletions

View File

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