diff --git a/config/config.ts b/config/config.ts index 9b714f0f..e2610976 100644 --- a/config/config.ts +++ b/config/config.ts @@ -117,7 +117,6 @@ export default defineConfig({ appConfig: {}, configProvider: { theme: { - cssVar: true, token: { fontFamily: 'AlibabaSans, sans-serif', }, diff --git a/src/global.tsx b/src/global.tsx index 6097b546..07b2aa90 100644 --- a/src/global.tsx +++ b/src/global.tsx @@ -66,7 +66,7 @@ if (pwa) { ); notification.open({ - message: useIntl().formatMessage({ id: 'app.pwa.serviceworker.updated' }), + title: useIntl().formatMessage({ id: 'app.pwa.serviceworker.updated' }), description: useIntl().formatMessage({ id: 'app.pwa.serviceworker.updated.hint', }), diff --git a/src/requestErrorConfig.ts b/src/requestErrorConfig.ts index ff356ebd..ebf46476 100644 --- a/src/requestErrorConfig.ts +++ b/src/requestErrorConfig.ts @@ -58,8 +58,8 @@ export const errorConfig: RequestConfig = { break; case ErrorShowType.NOTIFICATION: notification.open({ + title: errorCode, description: errorMessage, - message: errorCode, }); break; case ErrorShowType.REDIRECT: