Open lyhjob2019 opened 1 year ago
在umi3.5 ssr模式下, 开启locale会报navigator is not defined , at getLocale:
/config/config.ts: export default defineConfig({ locale: { default: 'zh', title: true, baseNavigator: false, }, })
修复了吗
在umi3.5 ssr模式下, 开启locale会报navigator is not defined , at getLocale:
/config/config.ts: export default defineConfig({ locale: { default: 'zh', title: true, baseNavigator: false, }, })