(component): 新增 input 组件 password 属性

This commit is contained in:
就眠儀式
2022-07-16 22:42:59 +08:00
parent f11412de0b
commit 0e8edc23c0
5 changed files with 50 additions and 13 deletions

View File

@@ -111,6 +111,33 @@ export default {
:::
::: title 输入密码
:::
::: demo
<template>
<lay-input v-model="inputValue" type="password" password></lay-input>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
const inputValue = ref("");
return {
inputValue
}
}
}
</script>
:::
::: title 设置图标
:::