tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

🐛 [Bug]: 预览可以切换分页的国际化,出码后部署不行

Open stefli-3326 opened this issue 4 months ago • 5 comments

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

stefli-3326 avatar Aug 07 '25 07:08 stefli-3326

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.

Issues-translate-bot avatar Aug 07 '25 07:08 Issues-translate-bot

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.

Issues-translate-bot avatar Aug 08 '25 07:08 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically.


It’s hard to do this activity.

Issues-translate-bot avatar Sep 16 '25 01:09 Issues-translate-bot