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

@ -69,8 +69,8 @@ export default defineComponent({
data() { data() {
return { return {
width: 850, width: 860,
height: 650, height: 660,
pageInfo: null, pageInfo: null,
path: this.initialPath, path: this.initialPath,
component: this.initialComponent, component: this.initialComponent,

View file

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

View file

@ -241,7 +241,6 @@ hr {
border-radius: var(--radius); border-radius: var(--radius);
//border: var(--panelBorder); //border: var(--panelBorder);
box-shadow: var(--panelShadow); box-shadow: var(--panelShadow);
overflow: hidden;
overflow: clip; overflow: clip;
} }

View file

@ -230,6 +230,7 @@ export default defineComponent({
> .main { > .main {
margin: 0; margin: 0;
padding-bottom: 92px;
border: none; border: none;
width: 100%; width: 100%;
border-radius: 0; border-radius: 0;