From 7b6a1ce67e7123fd17bafac8aa113b37ae12b65f Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 2 Dec 2024 09:48:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E4=BD=93=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8=E6=B7=BB=E5=8A=A0=E4=BA=86=20content-path=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8Cdiv=20?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F=E4=BC=9A?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=AD=97=E4=BD=93=E8=AF=B7=E6=B1=82=E4=B8=8D?= =?UTF-8?q?=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/store/modules/appearance.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/store/modules/appearance.ts b/core/core-frontend/src/store/modules/appearance.ts index 6a2ad21b0c..1342fee6fe 100644 --- a/core/core-frontend/src/store/modules/appearance.ts +++ b/core/core-frontend/src/store/modules/appearance.ts @@ -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 )