🐛 [Bug]: 预览可以切换分页的国际化,出码后部署不行
Environment
无
Version
2.7
Version
2.7
Link to minimal reproduction
预览的时候可以看到分页是可以切换中英文的,但是gird的列名配置了国际化,无法切换。普通的文本设置变量是可以切换中英文。但是,当出码后,分页也不能切换中英文,该如何通知组件去切换中英文。
Step to reproduce
预览的时候可以看到分页是可以切换中英文的,但是gird的列名配置了国际化,无法切换。普通的文本设置变量是可以切换中英文。但是,当出码后,分页也不能切换中英文,该如何通知组件去切换中英文。
What is expected
所有组件可以切换中英文
What is actually happening
No response
What is your project name
demo
Any additional comments (optional)
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: Preview can switch to the internationalization of paging, but the deployment cannot be done after the code is released.
Bot detected the issue body's language is not English, translate it automatically.
Use computed method to define columns and pager, and the internationalization can be switched normally after the code is issued. However, locale.use and setLocale need to be configured, where locale.use is used as internal international switching of components, and setLocale is used as custom content. A new problem is coming again. 1. You need to issue codes to support computed or other refresh mechanisms. 2. You cannot directly see the field list defined by computed in the designer.
Bot detected the issue body's language is not English, translate it automatically.
It’s hard to do this activity.