his-cascaderareas
v0.0.8
Published
his cascaderareas vue component
Downloads
5
Readme
妈咪地址级联选择组件
安装
// yarn
$ yarn add his-cascaderareas
// npm
$ npm i his-cascaderareas
使用
<template>
<HisCascaderAreas
:value="value" // 值
@change="handleChange" // change触发
/>
// 双向绑定
<HisCascaderAreas v-model="value" />
</template>
<script>
import HisCascaderAreas from 'his-cascaderareas';
export default {
name: 'Test',
data() {
return {
value: []
}
},
components: { HisCascaderAreas },
methods: {
handleChange(val) {
console.log(val);
}
}
}
</script>
<style scoped lang="less">
@import './index.less';
</style>