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

    middle-1907

"dig测试"


Version published
Weekly downloads
2
Maintainers
1
Install size
243 kB
Created
Weekly downloads
 

Readme

Source
官方源:npm config set registry http://registry.npmjs.org/
淘宝源:npm config set registry https://registry.npm.taobao.org

安装

这是通过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;实现的

    注释

    参数备注
    dialogFormVisibleblooen默认false
    uploadStuAvatar函数上传图片使用
    form对象存储表单所有数据

FAQs

Last updated on 08 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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