style: lint fix
This commit is contained in:
parent
5b51cfb4f1
commit
598d256be4
@ -3,7 +3,10 @@
|
||||
<div
|
||||
ref="tagsContent"
|
||||
class="tags-content"
|
||||
:style="{ height: useTheme.tags.height + 'px', transform: `translateX(${translateX}px)` }"
|
||||
:style="{
|
||||
height: useTheme.tags.height + 'px',
|
||||
transform: `translateX(${translateX}px)`,
|
||||
}"
|
||||
:wrap="false"
|
||||
>
|
||||
<n-tag
|
||||
|
@ -11,7 +11,10 @@
|
||||
<n-layout style="background-color: #f5f6fb" :style="`height: calc(100% - ${useTheme.header.height}px)`">
|
||||
<AppTags v-if="useTheme.tags.visible" />
|
||||
<AppMain
|
||||
:style="{ height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`, overflow: 'auto' }"
|
||||
:style="{
|
||||
height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`,
|
||||
overflow: 'auto',
|
||||
}"
|
||||
/>
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
|
10
src/utils/cache/index.js
vendored
10
src/utils/cache/index.js
vendored
@ -1,9 +1,15 @@
|
||||
import { createWebStorage } from './web-storage'
|
||||
|
||||
export const createLocalStorage = function (option = {}) {
|
||||
return createWebStorage({ prefixKey: option.prefixKey || '', storage: localStorage })
|
||||
return createWebStorage({
|
||||
prefixKey: option.prefixKey || '',
|
||||
storage: localStorage,
|
||||
})
|
||||
}
|
||||
|
||||
export const createSessionStorage = function (option = {}) {
|
||||
return createWebStorage({ prefixKey: option.prefixKey || '', storage: sessionStorage })
|
||||
return createWebStorage({
|
||||
prefixKey: option.prefixKey || '',
|
||||
storage: sessionStorage,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user