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() {
return {
width: 850,
height: 650,
width: 860,
height: 660,
pageInfo: null,
path: this.initialPath,
component: this.initialComponent,

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;
}
}
});

View file

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

View file

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