Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

address-level

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

address-level

#### 描述 react ts pc

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

地址组件

描述 react ts pc

地址组件接收数据格式

{
    "cod": true,
    "id": 3,
    "name": "天津"
}

地址组件使用

<AddressLinkSelect selectOver={msg => { }} msg={"请选择"}/>

API

字段说明类型
placeholder默认显示的文字string
address默认显示的地址string
addresslevel可选地址等级默认3级number
addressList地址列表默认省级Array

function

字段说明返回类型
selectOver选择完的回调函数返回选择完的对象obj
SelectBack每次选择完之后的回调函数obj

使用说明

SelectBack每次选择完 地址组件触发 应该调用 后台接口 把新的 addressList 传入。

FAQs

Package last updated on 03 Dec 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc