Skip to content

Commit 9b2fafb

Browse files
perryhouTidyzq
authored andcommitted
点击取消按钮触发hideInput事件
点击取消按钮触发hideInput事件
1 parent eda6198 commit 9b2fafb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/searchbar/searchbar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Component({
9191
this.setData({
9292
searchState: false
9393
})
94+
this.triggerEvent('hide', e.detail)
9495
},
9596
// @ts-ignore
9697
inputChange(e) {

0 commit comments

Comments
 (0)