Demo: update

This commit is contained in:
街角小林 2024-06-13 09:33:58 +08:00
parent 4f5746680d
commit a9ad38e39b
2 changed files with 4 additions and 4 deletions

View File

@ -934,7 +934,7 @@
</div> </div>
</div> </div>
<!-- 是否开启手绘风格 --> <!-- 是否开启手绘风格 -->
<!-- <div class="row"> <div class="row" v-if="supportHandDrawnLikeStyle">
<div class="rowItem"> <div class="rowItem">
<el-checkbox <el-checkbox
v-model="localConfigs.isUseHandDrawnLikeStyle" v-model="localConfigs.isUseHandDrawnLikeStyle"
@ -942,7 +942,7 @@
>{{ $t('baseStyle.isUseHandDrawnLikeStyle') }}</el-checkbox >{{ $t('baseStyle.isUseHandDrawnLikeStyle') }}</el-checkbox
> >
</div> </div>
</div> --> </div>
</div> </div>
</Sidebar> </Sidebar>
</template> </template>
@ -1065,7 +1065,8 @@ export default {
...mapState({ ...mapState({
activeSidebar: state => state.activeSidebar, activeSidebar: state => state.activeSidebar,
localConfig: state => state.localConfig, localConfig: state => state.localConfig,
isDark: state => state.localConfig.isDark isDark: state => state.localConfig.isDark,
supportHandDrawnLikeStyle: state => state.supportHandDrawnLikeStyle
}), }),
lineStyleList() { lineStyleList() {
return lineStyleList[this.$i18n.locale] || lineStyleList.zh return lineStyleList[this.$i18n.locale] || lineStyleList.zh

View File

@ -511,7 +511,6 @@ export default {
isDark: state => state.localConfig.isDark, isDark: state => state.localConfig.isDark,
activeSidebar: state => state.activeSidebar activeSidebar: state => state.activeSidebar
}), }),
fontFamilyList() { fontFamilyList() {
return fontFamilyList[this.$i18n.locale] || fontFamilyList.zh return fontFamilyList[this.$i18n.locale] || fontFamilyList.zh
}, },