Socket
Socket
Sign inDemoInstall

middle-1907

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

2

package.json
{
"name": "middle-1907",
"version": "1.0.2",
"version": "1.1.0",
"description": "\"dig测试\"",

@@ -5,0 +5,0 @@ "main": "middle-npm.common.js",

@@ -9,1 +9,46 @@ ```

## 安装
这是通过node.js和vue框架整体构成的
下载之前请安装好Node.js,Axios,vue,Element-UI
使用npm install完成以下命令
```
安装:npm i middle-1907
```
## 介绍
这是一款集成表单验证,上传图片等功能的diglog表单,
这里是如何使用的案例
```
main.js:
import middledig from "middle-1907"//引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(middledig);//使用
Vue.use(ElementUI);
APP.vue:
<diglog></diglog>
```
从此示例中,您可以学习以下内容:
- 您添加以上内容就可以使用一个好看又好用的diglog框啦。
- 关闭连接是通过dialogFormVisible = blooen;实现的
## 注释
| 参数 | 值 | 备注 |
| :---------------: | :----: | :--------------: |
| dialogFormVisible | blooen | 默认false |
| uploadStuAvatar | 函数 | 上传图片使用 |
| form | 对象 | 存储表单所有数据 |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc