remove empty onMounted and unnecessary log line
This commit is contained in:
parent
89b5901e46
commit
7ee0245cdc
1 changed files with 1 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref, computed, watch, onMounted } from 'vue';
|
import { ref, computed, watch } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
import * as os from '@/os.js';
|
import * as os from '@/os.js';
|
||||||
|
|
@ -68,7 +68,6 @@ const error = ref<any>(null);
|
||||||
const path = computed(() => props.announcementId);
|
const path = computed(() => props.announcementId);
|
||||||
|
|
||||||
function fetch() {
|
function fetch() {
|
||||||
console.log("aaa");
|
|
||||||
announcement.value = null;
|
announcement.value = null;
|
||||||
misskeyApi('announcements/show', {
|
misskeyApi('announcements/show', {
|
||||||
announcementId: props.announcementId,
|
announcementId: props.announcementId,
|
||||||
|
|
@ -113,9 +112,6 @@ definePage(() => ({
|
||||||
title: announcement.value ? announcement.value.title : i18n.ts.announcements,
|
title: announcement.value ? announcement.value.title : i18n.ts.announcements,
|
||||||
icon: 'ti ti-speakerphone',
|
icon: 'ti ti-speakerphone',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue