This commit is contained in:
syuilo
2021-12-25 13:38:53 +09:00
parent 8e7744a695
commit 601bc3e3cc
17 changed files with 7 additions and 161 deletions

View File

@@ -1,14 +1,13 @@
<template>
<div class="_section">
<div class="_content">
<XNotes ref="notes" :pagination="pagination" @before="before" @after="after"/>
<XNotes ref="notes" :pagination="pagination"/>
</div>
</div>
</template>
<script lang="ts">
import { computed, defineComponent } from 'vue';
import Progress from '@/scripts/loading';
import XNotes from '@/components/notes.vue';
import * as symbols from '@/symbols';
@@ -39,15 +38,5 @@ export default defineComponent({
(this.$refs.notes as any).reload();
}
},
methods: {
before() {
Progress.start();
},
after() {
Progress.done();
}
}
});
</script>