ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

多选下拉框不显示箭头图标,偶尔显示字符Â

Open x-wink opened this issue 1 year ago • 4 comments

  • [ ] 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?

显示字符Â ,并且撑高了下拉框

企业微信截图_16989196258313

x-wink avatar Nov 02 '23 10:11 x-wink

有解决方案么? 我也遇到了这个情况,但无法稳定复现,正常的时候像图上这样是'\a0',并不是Â。 image

yyycc avatar Nov 27 '23 03:11 yyycc

有解决方案么? 我也遇到了这个情况,但无法稳定复现,正常的时候像图上这样是'\a0',并不是Â。 image

俺也一样 正常是\a0,这个是表示转义后的空格应该就是为了出现乱码才这么写的。 感觉好像是浏览器的BUG,因为控制台是浏览器层面的了,这里显示都是乱码应该更组件库没太大关系 解决方案是说服测试,说这个组件库BUG不是我写的BUG哈哈哈

x-wink avatar Nov 27 '23 04:11 x-wink

俺们也遇到了乱码的问题,求解决思路🙏

polikesen123 avatar Jan 11 '24 01:01 polikesen123

nginx 中配置一下 css 文件的 charset:

server {
    charset utf-8;
    # ...

    location / {
        # ...

        # 设置 css 文件的字符集
        if ($request_filename ~* .*\.css$) {
          add_header Content-Type "text/css; charset=UTF-8";
        }

    }
}

SublimeCT avatar Jan 19 '24 06:01 SublimeCT

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

github-actions[bot] avatar Mar 20 '24 02:03 github-actions[bot]