# VCode
**Repository Path**: OpenHarmony1/VCode
## Basic Information
- **Project Name**: VCode
- **Description**: 一个OpenHarmony数字和字母组合验证码组件
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-11-01
- **Last Updated**: 2024-04-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: vcode, OpenHarmony
## README
# VCode
#### 项目介绍
一个带干扰线和干扰点的字母数字验证码组件
#### 项目演示

##### 基础用法
```javascript
```
#### 接口及属性
| **属性** | **必填** | **说明** |
| ------------------------------------ | :------: | --------------------------------------------------------- |
| has-line: Boolean | 否 | 是否有干扰线,默认true |
| has-point: boolean | 否 | 是否有干扰点,默认true |
| str: String | 否 | 验证码随机取值的字符串范围,默认0-9和A-Z |
| num: Number | 否 | 验证码位数,默认6 |
| width: Number | 否 | 宽,默认120 |
| height: Number | 否 | 高,默认40 |
| bg-color: String | 否 | 背景色,默认随机 |
| font-color: String | 否 | 验证码字体颜色,默认随机 |
| allow-click-change: Boolean | 否 | 是否点击改变验证码,默认true |
#### 版权和许可信息
```
(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```