mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 16:26:15 -04:00
refactor(lint): linter auto fix
This commit is contained in:
parent
8e29a97404
commit
086d31eab5
54 changed files with 1122 additions and 1503 deletions
|
@ -14,11 +14,7 @@
|
|||
</n-layout-sider>
|
||||
<n-layout class="content">
|
||||
<slot name="content" />
|
||||
<div
|
||||
v-show="isSmallScreen && !isMenuCollapsed"
|
||||
class="overlay"
|
||||
@click="isMenuCollapsed = true"
|
||||
/>
|
||||
<div v-show="isSmallScreen && !isMenuCollapsed" class="overlay" @click="isMenuCollapsed = true" />
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
</template>
|
||||
|
@ -27,9 +23,9 @@
|
|||
import { useStyleStore } from '@/stores/style.store';
|
||||
import { toRefs, computed } from 'vue';
|
||||
|
||||
const styleStore = useStyleStore()
|
||||
const { isMenuCollapsed, isSmallScreen } = toRefs(styleStore)
|
||||
const siderPosition = computed(() => isSmallScreen.value ? 'absolute' : 'static')
|
||||
const styleStore = useStyleStore();
|
||||
const { isMenuCollapsed, isSmallScreen } = toRefs(styleStore);
|
||||
const siderPosition = computed(() => (isSmallScreen.value ? 'absolute' : 'static'));
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
@ -44,7 +40,6 @@ const siderPosition = computed(() => isSmallScreen.value ? 'absolute' : 'static'
|
|||
}
|
||||
|
||||
.content {
|
||||
|
||||
// background-color: #f1f5f9;
|
||||
::v-deep(.n-layout-scroll-container) {
|
||||
padding: 26px;
|
||||
|
@ -54,4 +49,4 @@ const siderPosition = computed(() => isSmallScreen.value ? 'absolute' : 'static'
|
|||
.n-layout {
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue