Refactor
This commit is contained in:
parent
6b0d48423d
commit
7bbf022978
12 changed files with 38 additions and 76 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<x-notes ref="timeline" :more="existMore ? more : null" @parentFocus="parentFocus"/>
|
||||
<x-notes ref="timeline" :more="existMore ? more : null"/>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
@ -93,11 +93,7 @@ export default Vue.extend({
|
|||
|
||||
focus() {
|
||||
this.$refs.timeline.focus();
|
||||
},
|
||||
|
||||
parentFocus(direction) {
|
||||
this.$emit('parentFocus', direction);
|
||||
},
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue