[bug report] element UI introduces an English language pack. When the El paging component jumps, the entered value exceeds the maximum number of pages. When the mouse hovers over the number, a Chinese prompt will appear

bsxbgnwa  于 2022-10-20  发布在  其他
关注(0)|答案(6)|浏览(153)

Element UI version

2.12.0

OS/Browsers version

win7/chrome 79.0.3945.88

Vue version

2.6.10

https://codepen.io/VickyRong/pen/YzPrBmm

Steps to reproduce

1.element-ui使用英文语言包
2.分页有2页时,跳页Input里边输入大于2的数字比如:5,鼠标悬停在数字5上时会出现中文的提示:值必须小于或等于 2

What is Expected?

引入的是英文语言包,希望出现的是英文的提示

What is actually happening?

出现的是中文提示

sr4lhrrt

sr4lhrrt1#

Translation of this issue:

Element UI version

2.12.0

OS/Browsers version

win7/chrome 79.0.3945.88

Vue version

2.6.10

https://codepen.io/VickyRong/pen/YzPrBmm

Steps to reproduce

  1. Element UI uses English language pack
  2. When there are two pages in paging, input a number greater than 2 in skip page input, for example: 5. When hovering over the number 5, the Chinese prompt will appear: the value must be less than or equal to 2

What is Expected?

English language pack is introduced, and English prompt is expected

What is actually happening?

Chinese prompt appears

ryhaxcpt

ryhaxcpt2#

这个是浏览器的行为,不清楚是否需要作为新功能?

mbskvtky

mbskvtky3#

怎么把这个行为去掉啊,不显示也行,如果显示的话需要显示英文的

hsgswve4

hsgswve44#

目前没有直接方法。
你可以将 el-pagination 默认输入框关掉,然后使用 el-input type 为 number,最后传递一个空的title可以覆盖默认行为
https://codepen.io/linkontoask/pen/mdyBZJJ

vnjpjtjt

vnjpjtjt6#

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.

相关问题