WebApp【公共组件库】@前端(For Git Submodule)
YFeng
2024-02-28 66e98219bcac1af4d9bf684cc31af330c68b679a
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;