ylztest
这就是一个测试demo,谁下谁傻逼
Last updated 8 months ago by suki22 .
MIT · Original npm · Tarball · package.json
$ cnpm install ylztest 
SYNC missed versions from official npm registry.

小程序授权插件

si-auth

安装

npm i ylztest || cnpm i ylztest

使用方式

props 参数

  1. mobile 手机号 (必须传,授权要用)
  2. token 参数 (必须传,授权要用)
  3. type 环境类型,默认正式环境,'test':测试环境

回调事件

onAuthBack(result)

参数:result 为授权网络请求数据

demo

<template lang="wxml" minapp="wepy">
    <Auth :mobile.sync="mobile" :token.sync="token" @onAuthBack.user="onAuthBack"></Auth>
</template>

<script>
import wepy from 'wepy'
import Auth from 'ylztest/Auth'
export default class Demo extends wepy.page {
    components = {
        Auth
    };
    data = {
        mobile: '18511580429',
        token: 'test-token'
    }
    onShow () {
    }
    methods = {
        onAuthBack (result) {
            console.info(result)
        }
    }
}
</script>

Current Tags

  • 1.4.2                                ...           latest (8 months ago)

44 Versions

  • 1.4.2                                ...           8 months ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.9                                ...           a year ago
  • 1.3.8                                ...           a year ago
  • 1.3.7                                ...           a year ago
  • 1.3.6                                ...           a year ago
  • 1.3.5                                ...           a year ago
  • 1.3.4                                ...           a year ago
  • 1.3.3                                ...           a year ago
  • 1.3.2                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.9                                ...           a year ago
  • 1.2.8                                ...           a year ago
  • 1.2.7                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.9                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 2
Last Month 55
Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |