ant-design-vue/components/input/demo/password-input.vue

32 lines
433 B
Vue

<docs>
---
order: 11
title:
zh-CN: 密码框
en-US: Password box
---
## zh-CN
密码框
## en-US
Input type of password.
</docs>
<template>
<a-input-password v-model:value="value" placeholder="input password" />
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
setup() {
const value = ref<string>('');
return {
value,
};
},
});
</script>