Windows、MacOS平台下的字体列表取消使用原生方式获取(#1596)

This commit is contained in:
lyswhut
2023-10-07 11:17:04 +08:00
parent 799b768367
commit a786ae24e9
8 changed files with 154 additions and 74 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default () => {
})
watch(() => appSetting['common.font'], (val) => {
document.documentElement.style.fontFamily = /\s/.test(val) ? `"${val}"` : val
document.documentElement.style.fontFamily = val
}, {
immediate: true,
})