Skip to content

[Bug 上报] wd-search的placeholder样式丢失 #856

@cnguu

Description

@cnguu

Wot Design Uni 版本号

1.6.0

平台

h5

复现Demo地址(如不提供,将被直接关闭)

https://github.com/Moonofweisheng/wot-design-uni/blob/master/src/uni_modules/wot-design-uni/components/wd-search/wd-search.vue#L14

重现步骤

1、打开源码:https://github.com/Moonofweisheng/wot-design-uni/blob/master/src/uni_modules/wot-design-uni/components/wd-search/wd-search.vue#L14
2、发现错误写法:

:placeholder-class="`wd-search__placeholder-txt', ${placeholderClass}`"

期望的结果是什么?

placeholder样式正常显示

实际的结果是什么?

placeholder样式丢失

环境信息

No response

其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions