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