mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 22:48:03 +08:00
为菜单增加字体大小配置
This commit is contained in:
parent
be31c4bf2a
commit
ea5e0f2f6a
@ -4,7 +4,8 @@
|
||||
<Workbench @refresh-doc-tree="getDocTree" @show-sort="handleShowSort"></Workbench>
|
||||
</div>
|
||||
|
||||
<div class="doc-trees-container" v-loading="docTreeLoading" element-loading-text="正在读取文档...">
|
||||
<div class="doc-trees-container" v-loading="docTreeLoading" element-loading-text="正在读取文档..."
|
||||
:style="{ fontSize: configStore.viewStyle.treeDocsFontSize }">
|
||||
<!-- 文件夹 -->
|
||||
<el-menu v-if="!isEmpty(docTreeData)" class="doc-trees" :unique-opened="true">
|
||||
|
||||
@ -123,6 +124,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useConfigStore } from '@renderer/stores/config'
|
||||
import { ref, provide, onActivated, nextTick } from "vue"
|
||||
import { ArrowDownBold, ArrowRightBold } from '@element-plus/icons-vue'
|
||||
import Workbench from "./PictureTreeWorkbench.vue"
|
||||
@ -134,6 +136,8 @@ import PictureInfo from '@renderer/views/picture/PictureInfo.vue'
|
||||
import Notify from "@renderer/scripts/notify"
|
||||
import { ElMessageBox } from "element-plus"
|
||||
|
||||
const configStore = useConfigStore()
|
||||
|
||||
onActivated(() => {
|
||||
getDocTree()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user