umi [Bug] Layout 内置文本国际化问题

zu0ti5jz  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(50)

Desciption:
How to modify the word "Logout" in the top right corner of the logout popup layer in the layout component of Umi4.0 framework, I didn't find a place to modify it.

Framework:
Umi4.0+ant-design/pro@2.0+react18

Reproduction link:
https://spdev.lipalaterapis.com/order

Github:
https://github.com/lipa-later/web-store-admin.git

Error screenshot:
https://chinatestocr.s3.amazonaws.com/sp/mall/16680488245791668048771033.png

Error component:
Layout

cnjp1d6j

cnjp1d6j1#

参考 src/.umi/plugin-layout/Layout.tsx ,在 app.tsrightContentRender 选项, copy 一份 plugin-layout/rightRender.tsx 手动渲染你想要的

相关问题