Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

q_validation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q_validation

这是一个验证组件

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

验证组件

这里是文档

安装

npm install q_validation --save

使用

注册组件

注册全局组件:

import q_validation from 'q_validation'

Vue.component('q_validation', q_validation)

注册局部组件:

import qValidation from 'q_validation'

export default {
  components: { qValidation }
}

如何使用

<qValidation v-model="img_captcha" :debug="false" :url="url" :appid="appid" :operation="operation"></qValidation>

双向绑定img_captcha , 验证成功后更新验证id ;
url : 组件中iframe地址 , 可不传 ;
appid : 应用id , 必传 ;
operation : 业务id , 必传 ;
debug : 测试状态 , 默认值false , 若为true , 则更改iframe地址为测试地址 ;

Keywords

验证

FAQs

Package last updated on 07 Dec 2017

Did you know?

Socket

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