Coder Social home page Coder Social logo

kule2018 / wl-address Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hql7/wl-address

0.0 1.0 0.0 607 KB

一个基于vue和element-ui的省市县三级地址联动插件,使用本地化数据,Level 3 Linkage Address Plug-in, Using Localized Data

Home Page: https://hql7.github.io/

License: MIT License

JavaScript 98.27% HTML 0.16% Vue 1.57%

wl-address's Introduction

wl-address

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

#简介 这是一个基于elementUi的el-select组件的省市县三级地址联动插件,使用本地化数据,无接口依赖。 el-select

快速上手

npm i wl-address --save

npm i wl-address -S

import wlAddress from 'wl-address'

Vue.use(wlAddress)

文档

序号 参数 说明 类型 可选值 默认值
1 size 输入框尺寸 String medium/small/mini -
2 address 绑定所选地址数据的字段。格式要求:[{"code":"130000","name":"河北省"},{"code":"130200","name":"唐山市"},{"code":"130203","name":"路北区"}] String - -
3 type 三个下拉框联动模式和一个下拉框级联模式 String default/cascader default

版本记录

  1. 0.2.1 发布,增加为两个模式:三个下拉框联动模式和一个下拉框级联模式

  2. 0.1.0 初次发布,0依赖的省市县三级地址插件

Customize configuration

See Configuration Reference.

wl-address's People

Contributors

hql7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.