Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[t-search] 搜索输入内容,右侧出现两个X #1390

Closed
1943715762 opened this issue May 10, 2024 · 4 comments
Closed

[t-search] 搜索输入内容,右侧出现两个X #1390

1943715762 opened this issue May 10, 2024 · 4 comments

Comments

@1943715762
Copy link

tdesign-mobile-vue 版本

复现

重现链接

No response

重现步骤

把官网案例拿过来,就出现这个问题(代码:
<t-search v-model="keyword" :clearable="true" shape="round" placeholder="请输入关键词搜索" @search="filterList"
@submit="filterList" @clear="filterList">

1715246406430

设置clearable为false时候,也有x
2

期望结果

去掉第一个x。只保留第二个 圈X

实际结果

两个x

框架版本

3.2.47

浏览器版本

124.0.6367.119

系统版本

window11

Node版本

16.15.1

补充说明

uview3的框架,用tdesign 的ui。把官网search案例拿来就出现这个问题。官网上没问题。不知道咋回事

Copy link
Contributor

👋 @1943715762,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@liweijie0812
Copy link
Collaborator

tdesign-mobile-vue 版本升级了吗,1.0.0-rc.2 已修复了该问题

@1943715762
Copy link
Author

tdesign-mobile-vue 版本升级了吗,1.0.0-rc.2 已修复了该问题

现在是1.2.0版本,最新版

@anlyyao
Copy link
Collaborator

anlyyao commented Oct 16, 2024

@1943715762 这边测试没有发现问题哦, https://stackblitz.com/edit/ezy6rb?file=src%2Fdemo.vue
效果:
截屏2024-10-16 15 40 42

或者提供一下你那边完整可复现的项目仓库地址,我们再进一步排查~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants