refactor(client): Refine routing (#8846)

This commit is contained in:
syuilo
2022-06-20 17:38:49 +09:00
committed by GitHub
parent 30a39a296d
commit 699f24f3dc
149 changed files with 6312 additions and 6670 deletions

View File

@@ -11,7 +11,7 @@ import XSetup from './welcome.setup.vue';
import XEntrance from './welcome.entrance.a.vue';
import { instanceName } from '@/config';
import * as os from '@/os';
import * as symbols from '@/symbols';
import { definePageMetadata } from '@/scripts/page-metadata';
let meta = $ref(null);
@@ -19,10 +19,12 @@ os.api('meta', { detail: true }).then(res => {
meta = res;
});
defineExpose({
[symbols.PAGE_INFO]: computed(() => ({
title: instanceName,
icon: null,
})),
});
const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: instanceName,
icon: null,
})));
</script>