@rrc-materials/select
rrc materials for Select
799
| Install | |
|---|---|
npm install @rrc-materials/select |
|
| Latest Version: | 0.2.0 |
| License: | ISC |
| Last Updated: | Nov 30, 2018 |
| Links: | Repository · npm |
Maintainer: rrc-fe
showNav: true
Select
<script> import Basic from './demo/basic.md' import Multiple from './demo/multiple.md' import Object from './demo/object.md' import Form from './demo/form.md' export default { components: { Basic, Multiple, Object, Form }, data() { return { value3: '', value4: '', value5: '', cityOptions: { '北京': '0', '吉林': '1', '上海': '2', '天津': '3', '深圳': '4' }, languageOptions: { 'HTML': '0', 'JavaScript': '1', 'CSS': '2', 'Java': '3', 'PHP': '4', 'C++': '5', 'C#': '6' }, fruitOptions: { '苹果': '0', '橙子': '1', '鸭梨': '2', '香蕉': '3', '葡萄': '4', '西瓜': '5', '柿子': '6' } } }, methods: { checkedAll(value) { console.log('打印当前选中的值', value) } } } </script>
@rrc-materials/selectfor rrc fork element-ui select 增加js 写入项和全选取消全选 如果升级 select 的话这里以需要做更改
Select 选择器
当选项过多时,使用下拉菜单展示并选择内容,包括全选和取消全选操作。
:::tip
注意: Element-UI 的属性和方法都适用。
:::
基本用法
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.2.0 | ISC | |
| 0.1.0 | ISC |
Pre-releases (21)
| Version | Released | License |
|---|---|---|
| 0.0.1-beta.22 | ISC | |
| 0.0.1-beta.21 | ISC | |
| 0.0.1-beta.20 | ISC | |
| 0.0.1-beta.19 | ISC | |
| 0.0.1-beta.18 | ISC | |
| 0.0.1-beta.17 | ISC | |
| 0.0.1-beta.15 | ISC | |
| 0.0.1-beta.14 | ISC | |
| 0.0.1-beta.13 | ISC | |
| 0.0.1-beta.12 | ISC | |
| 0.0.1-beta.11 | ISC | |
| 0.0.1-beta.10 | ISC | |
| 0.0.1-beta.9 | ISC | |
| 0.0.1-beta.8 | ISC | |
| 0.0.1-beta.7 | ISC | |
| 0.0.1-beta.6 | ISC | |
| 0.0.1-beta.5 | ISC | |
| 0.0.1-beta.4 | ISC | |
| 0.0.1-beta.3 | ISC | |
| 0.0.1-beta.2 | ISC | |
| 0.0.1-beta.1 | ISC |