1.0.11 • Published 3 years ago

jx-cascader v1.0.11

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

cascader

cacscader 联级选择

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

使用方法: npm install --save-dev

在使用页面引入组件 import "jxCascader" from 'jx-cascader' 在conponents中注册 components:{ jxCascader }

页面中使用 <jx-cascader v-model="select" :data="data" @onchange="onchange" >

theme参数说明 String

cpa||web-fk(法考)||web-fs(法硕)||web-english(英语)

select:1,12//默认值 data:[],//下拉列表 onchange(res){ return res }//选择后返回的数据 res:1,1-2,1-2-1

注意:data的数据格式必须包含 { label:'张三',//展示的内容 value:12,//key 默认选中或者选择后返回的结果 }

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago