This commit is contained in:
syuilo 2021-04-11 23:49:13 +09:00
parent d06517265f
commit 7ec0670748
4 changed files with 9 additions and 5 deletions

View file

@ -73,10 +73,11 @@ export default defineComponent({
},
setup(props, context) {
const INFO = ref({
const indexInfo = {
title: i18n.locale.settings,
icon: faCog
});
};
const INFO = ref(indexInfo);
const page = ref(props.initialPage);
const narrow = ref(false);
const view = ref(null);
@ -152,6 +153,9 @@ export default defineComponent({
page.value = 'profile';
} else {
page.value = props.initialPage;
if (props.initialPage == null) {
INFO.value = indexInfo;
}
}
});