From 613bb354413ac5aaf00e4dcaa1fd45ce856a6569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sun, 12 Mar 2023 23:31:05 +0800 Subject: [PATCH] update settings --- frontend/vben/.gitignore | 1 + frontend/vben/src/settings/encryptionSetting.ts | 4 ++-- frontend/vben/src/settings/localeSetting.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/vben/.gitignore b/frontend/vben/.gitignore index e6922c4..2201bd7 100644 --- a/frontend/vben/.gitignore +++ b/frontend/vben/.gitignore @@ -31,3 +31,4 @@ pnpm-debug.log* package-lock.json pnpm-lock.yaml +.vscode diff --git a/frontend/vben/src/settings/encryptionSetting.ts b/frontend/vben/src/settings/encryptionSetting.ts index 3c97305..00bc30d 100644 --- a/frontend/vben/src/settings/encryptionSetting.ts +++ b/frontend/vben/src/settings/encryptionSetting.ts @@ -5,8 +5,8 @@ export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7 // aes encryption key export const cacheCipher = { - key: '_11111000001111@', - iv: '@11111000001111_', + key: 'xyY$#$%^&&56^$&Y&YR^fiu|\\{pop{Poi<:6%@#$^CJ&^^gHU', + iv: 'knG^&e43w@65&90i90*YH-0+{K][;]\\}|kIOUGftyDTRFuy', } // Whether the system cache is encrypted using aes diff --git a/frontend/vben/src/settings/localeSetting.ts b/frontend/vben/src/settings/localeSetting.ts index 7d5fea9..27dbf8e 100644 --- a/frontend/vben/src/settings/localeSetting.ts +++ b/frontend/vben/src/settings/localeSetting.ts @@ -7,7 +7,7 @@ export const LOCALE: { [key: string]: LocaleType } = { } export const localeSetting: LocaleSetting = { - showPicker: true, + showPicker: false, // Locale locale: LOCALE.ZH_CN, // Default locale