Yao 706de21f2a
[improvement] Doc: 修复文档展示 (#198)
* 修复select样式问题

* 增加部分文档说明

* readme 更新

* Update README.md
2018-04-21 09:58:00 +08:00

28 lines
412 B
JavaScript

Component({
properties: {
items: {
type: Array,
value: []
},
name: {
type: String,
value: ''
},
checkedValue: {
type: String,
value: ''
},
activeColor: {
type: String,
value: '#ff4444'
}
},
methods: {
handleSelectChange(e) {
const value = e.detail.value;
this.triggerEvent('change', { value });
}
}
});