liuxiran opened a new pull request #1153:
URL: https://github.com/apache/apisix-dashboard/pull/1153


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [ ] Bugfix
   ___
   ### Bugfix
   - Description
   
   I found that the `Search` and `Reset` button did not change with the locale
   
   ![2020-12-30 
11-27-11屏幕截图](https://user-images.githubusercontent.com/2561857/103328149-93c87280-4a92-11eb-9212-eeeeeaa94662.png)
   
   ![2020-12-30 
11-26-51屏幕截图](https://user-images.githubusercontent.com/2561857/103328166-9f1b9e00-4a92-11eb-85f7-9cd050ddbf7e.png)
   
   - How to fix?
   Protable search config `searchText` and `resetText` accept  `string` value 
[1], so I just tried to use `${formatMessage({ id: 'component.global.search' 
})}` , and it worked well
   
   Reference:
   [1] 
https://procomponents.ant.design/components/table/#search-%E6%90%9C%E7%B4%A2%E8%A1%A8%E5%8D%95
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to