Element UI version
2.13.1
OS/Browsers version
macOS / Google Chrome 81.0
Vue version
2.6.11
Reproduction Link
https://codepen.io/evgenij_/pen/VwvEMRG
Steps to reproduce
Please use this Reproduction Link https://codesandbox.io/s/proud-moon-2cshd?file=/src/main.js instead of codepen
- Click to the button - buttons lang is zh-CN instead of EN
What is Expected?
EN locale is expected
What is actually happening?
zh-CN is used for this component (popconfirm) even if i18n with en locale is used
2条答案
按热度按时间bejyjqdl1#
The confirmButtonText/cancelButtonText prop defaults needs to be function, otherwise the default locale will be used.
relj7zay2#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.