Closed b2nil closed 3 years ago
通过 onActionClick 重置 AtSearchBar 的 value,不能将视图层节点的 value 彻底清除。
onActionClick
AtSearchBar
value
v1.0.0-alpha.8
h5
// template <at-search-bar placeholder="跳转到指定Key" :value="searchbarValue" @change="handleChange" @action-click="handleActionClick" />
// script const searchbarValue = ref('') function handleActionClick() { searchbarValue.value = '' }
问题描述
通过
onActionClick
重置AtSearchBar
的value
,不能将视图层节点的value
彻底清除。版本信息
v1.0.0-alpha.8
涉及的平台
h5
代码