his-cascaderareas

0.0.8 • Public • Published

his-cascaderareas image

妈咪地址级联选择组件

安装

 
  // 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>

Package Sidebar

Install

npm i his-cascaderareas

Weekly Downloads

0

Version

0.0.8

License

none

Unpacked Size

1.43 MB

Total Files

26

Last publish

Collaborators

  • corpor
  • wuliangren