forms/select/CSelect.vue
@@ -6,7 +6,7 @@ <template> <view class="c-select" :class="readOnly ? 'read-only':''" :class="readOnly?'read-only':''" > <!-- 下拉选择模式 --> <view @@ -125,8 +125,12 @@ }, methods: { handleChange(evt) { const item = this.options[evt.value]; this.itemRes.onChange(item[this.optionKey]); if (typeof this.optionKey === 'undefined') { this.itemRes.onChange(); } else { const item = this.options[evt.value]; this.itemRes.onChange(item[this.optionKey]); } }, onGoToSelectorPage() { let url = this.selectByPage;