forked from FoundKeyGang/FoundKey
fix types in classic UI widgets
This commit is contained in:
parent
a593dcb003
commit
b28c34b57d
2 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
||||||
<XSidebar/>
|
<XSidebar/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else ref="widgetsLeft" class="widgets left">
|
<div v-else ref="widgetsLeft" class="widgets left">
|
||||||
<XWidgets :place="'left'" @mounted="attachSticky(widgetsLeft)"/>
|
<XWidgets place="left" @mounted="attachSticky(widgetsLeft)"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main class="main" :style="{ background: pageMetadata?.value?.bg }" @contextmenu.stop="onContextmenu">
|
<main class="main" :style="{ background: pageMetadata?.value?.bg }" @contextmenu.stop="onContextmenu">
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<div v-if="isDesktop" ref="widgetsRight" class="widgets right">
|
<div v-if="isDesktop" ref="widgetsRight" class="widgets right">
|
||||||
<XWidgets :place="null" @mounted="attachSticky(widgetsRight)"/>
|
<XWidgets @mounted="attachSticky(widgetsRight)"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,11 @@ const emit = defineEmits<{
|
||||||
(ev: 'mounted'): void;
|
(ev: 'mounted'): void;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
place: {
|
place?: 'left' | null;
|
||||||
type: string;
|
}>(), {
|
||||||
};
|
place: null,
|
||||||
}>();
|
});
|
||||||
|
|
||||||
let editMode: boolean = $ref(false);
|
let editMode: boolean = $ref(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue