vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
---
title: InputPassword 密码输入框
description:
type: 0
group: null
menuName: InputPassword
icon:
order: 35
---
## 基本用法
```schema: scope="body"
{
"type": "form",
"api": "/api/mock2/form/saveForm",
"body": [
{
"type": "input-password",
"name": "password",
"label": "密码"
}
]
}
```
## 配置密码显/隐藏
`revealPassword`属性可以设置是否展示密码显/隐按钮,默认为`true`。
```schema: scope="body"
{
"type": "form",
"api": "/api/mock2/form/saveForm",
"body": [
{
"type": "input-password",
"name": "password",
"label": "密码",
"revealPassword": false
}
]
}
```
## 属性表
请参考[输入框](./input-text)
| 属性名 | 类型 | 默认值 | 说明 |
| -------------- | --------- | ------ | --------------------- |
| revealPassword | `boolean` | `true` | 是否展示密码显/隐按钮 |
## 事件表
请参考[输入框](./input-text)
## 动作表
请参考[输入框](./input-text)