mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 21:42:32 +08:00
Merge pull request #13712 from dataease/pr@dev-v2_st
fix(嵌入式): 上传自定义字体,在添加了 content-path 路径的情况下,div 嵌入数据大屏会提示字体请求不到
This commit is contained in:
@@ -212,7 +212,9 @@ export const useAppearanceStore = defineStore('appearanceStore', {
|
||||
defaultFont().then(res => {
|
||||
const [font] = res || []
|
||||
setDefaultFont(
|
||||
`${basePath}/typeface/download/${font?.fileTransName}`,
|
||||
`${embeddedStore.baseUrl ? embeddedStore.baseUrl : basePath}/typeface/download/${
|
||||
font?.fileTransName
|
||||
}`,
|
||||
font?.name,
|
||||
font?.fileTransName
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user