ant-design-vue
ant-design-vue copied to clipboard
多选下拉框不显示箭头图标,偶尔显示字符Â
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.13
Environment
windows 10,chrome118.0.5993.118,vue3.2.47
Reproduction link
https://github.com/vueComponent/ant-design-vue/blob/main/components/select/style/multiple.ts
Steps to reproduce
https://github.com/vueComponent/ant-design-vue/blob/main/components/select/style/multiple.ts line75定义的这个字符
What is expected?
建议显示箭头图标,或者保持什么都不显示
What is actually happening?
显示字符Â ,并且撑高了下拉框
有解决方案么?
我也遇到了这个情况,但无法稳定复现,正常的时候像图上这样是'\a0',并不是Â。
有解决方案么? 我也遇到了这个情况,但无法稳定复现,正常的时候像图上这样是'\a0',并不是Â。
俺也一样 正常是\a0,这个是表示转义后的空格应该就是为了出现乱码才这么写的。 感觉好像是浏览器的BUG,因为控制台是浏览器层面的了,这里显示都是乱码应该更组件库没太大关系 解决方案是说服测试,说这个组件库BUG不是我写的BUG哈哈哈
俺们也遇到了乱码的问题,求解决思路🙏
在 nginx
中配置一下 css 文件的 charset:
server {
charset utf-8;
# ...
location / {
# ...
# 设置 css 文件的字符集
if ($request_filename ~* .*\.css$) {
add_header Content-Type "text/css; charset=UTF-8";
}
}
}
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days