Antd Vue 获取输入框焦点的输入值 @change事件
<template><a-input-search placeholder="名称" @change="searchInput" @search="onSearch" /></template><script>searchInput (e) {var sVal = e.target.value}</script>
·
<template>
<a-input-search placeholder="名称" @change="searchInput" @search="onSearch" />
</template>
<script>
searchInput (e) {
var sVal = e.target.value
}
</script>
更多推荐
已为社区贡献1条内容
所有评论(0)