You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/input/demo/password-input.vue

32 lines
433 B

<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>