$ gnpm install @gidc-pc-base/gidc-ebank-parts-h5-standard-vx-gidc-select-button
import SelectButton from "@/components/vx-select-button";
Vue.component(SelectButton.name, SelectButton);
<vx-select-button
:list="list"
v-model="model"
@change="change"
></vx-select-button>
handleSelectButton(item) {
....
}
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
list |
选择按钮列表 | Array |
[{text: '同意签收', value: '0'}, {text: '拒绝签收', value: '1'}] |
- |
Copyright 2013 - present © cnpmjs.org | Home |