mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
386 B
386 B
#### 带移除图标
带移除图标的输入框,点击图标删除所有内容。
#### With clear icon
Input type of password.
<template>
<a-input placeholder="input with clear icon" allowClear @change="onChange" />
</template>
<script>
export default {
methods: {
onChange(e) {
console.log(e);
},
},
};
</script>