From 6c6fb316f0ec92c86c9f7da0ee85d310a2b191d4 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 3 Mar 2026 16:10:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=B8=BA=E9=85=8D=E7=BD=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8F=90=E7=A4=BA=E6=B7=BB=E5=8A=A0=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在配置文件顶部添加多语言注释,提醒用户在更改配置后需清空 localStorage 缓存,以提高国际团队开发者的理解度。 --- apps/web-antd/src/preferences.ts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index bb718604..de3d133e 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -3,7 +3,26 @@ import { defineOverridesPreferences } from '@vben/preferences'; /** * @description 项目配置文件 * 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置 - * !!! 更改配置后请清空缓存,否则可能不生效 + * 为了防止有人看不懂 这里用各国语言加了注释 + * + * !!! 更改配置后请清空缓存 localStorage + * !!! Please clear the localStorage cache after changing the configuration + * !!! 更改配置後請清空緩存 localStorage + * !!! 設定を変更した後は、localStorageキャッシュをクリアしてください + * !!! 구성을 변경한 후에는 localStorage 캐시를 지우십시오 + * !!! Por favor, borre la caché de localStorage después de cambiar la configuración + * !!! Veuillez effacer le cache localStorage après avoir modifié la configuration + * !!! Bitte leeren Sie den localStorage-Cache nach Änderung der Konfiguration + * !!! Si prega di cancellare la cache di localStorage dopo aver modificato la configurazione + * !!! Пожалуйста, очистите кэш localStorage после изменения конфигурации + * !!! Por favor, limpe o cache do localStorage após alterar a configuração + * !!! Vui lòng xóa bộ nhớ cache localStorage sau khi thay đổi cấu hình + * !!! โปรดล้างแคช localStorage หลังจากเปลี่ยนการกำหนดค่า + * !!! Harap bersihkan cache localStorage setelah mengubah konfigurasi + * !!! يرجى مسح ذاكرة التخزين المؤقت localStorage بعد تغيير التكوين + * !!! Yapılandırmayı değiştirdikten sonra lütfen localStorage önbelleğini temizleyin + * !!! Wis de localStorage-cache na het wijzigen van de configuratie + * !!! Proszę wyczyścić pamięć podręczną localStorage po zmianie konfiguracji */ export const overridesPreferences = defineOverridesPreferences({ // overrides