refactor(client): refactor ui components

This commit is contained in:
syuilo
2021-12-03 22:09:40 +09:00
parent 8223a069fe
commit fa36b88af4
7 changed files with 814 additions and 689 deletions

View File

@@ -1,4 +1,4 @@
import { computed, ref } from 'vue';
import { computed, ref, reactive } from 'vue';
import { search } from '@/scripts/search';
import * as os from '@/os';
import { i18n } from '@/i18n';
@@ -7,7 +7,7 @@ import { $i } from './account';
import { unisonReload } from '@/scripts/unison-reload';
import { router } from './router';
export const menuDef = {
export const menuDef = reactive({
notifications: {
title: 'notifications',
icon: 'fas fa-bell',
@@ -221,4 +221,4 @@ export const menuDef = {
}*/], ev.currentTarget || ev.target);
},
},
};
});