You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
会PS的小码农 7d45f8257c 调整外部数据更新后插件内自动同步相关 3 years ago
build 优化选择地区自动绑定model以及地址自动识别示例编写 3 years ago
dist 调整外部数据更新后插件内自动同步相关 3 years ago
docs 合并选择器和地址解析 3 years ago
examples 解决外部改变地区选择的v-model值地区选择内部没有刷新问题 3 years ago
scripts 合并选择器和地址解析 3 years ago
src 调整外部数据更新后插件内自动同步相关 3 years ago
.babelrc 合并选择器和地址解析 3 years ago
.editorconfig 合并选择器和地址解析 3 years ago
.editorconfig copy 合并选择器和地址解析 3 years ago
.eslintignore 合并选择器和地址解析 3 years ago
.eslintrc.json 合并选择器和地址解析 3 years ago
.gitignore 合并选择器和地址解析 3 years ago
LICENSE 合并选择器和地址解析 3 years ago
README.md 合并选择器和地址解析 3 years ago
index.d.ts 合并选择器和地址解析 3 years ago
index.js 合并选择器和地址解析 3 years ago
package-lock.json1 合并选择器和地址解析 3 years ago
package.json 修改版本2 3 years ago
yarn.lock 合并选择器和地址解析 3 years ago

README.md

Powered By Jiajian Chan

A flexible, highly available district selector for picking provinces, cities and districts of China.

V - Distpicker

Here is documents

Installation

npm install v-distpicker --save

Or

yarn add v-distpicker --save

Usage

Register component

Registe global component:

import Distpicker from 'v-distpicker'

Vue.component('v-distpicker', Distpicker)

Registe component:

import VDistpicker from 'v-distpicker'

export default {
  components: { VDistpicker }
}

How to use

Basic:

<v-distpicker></v-distpicker>

Default Value:

<v-distpicker province="广东省" city="广州市" area="海珠区"></v-distpicker>

Mobile:

<v-distpicker type="mobile"></v-distpicker>

Contributors

Thanks

License

The plugin is open-sourced software licensed under the MIT license.