WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-23 1072e5fcf457a1184c8e4b81e311f9e2f875b86d
优化选择跳转页面模式细节
2 files modified
6 ■■■■ changed files
forms/select/CSelect.vue 5 ●●●● patch | view | raw | blame | history
forms/select/cSelect.scss 1 ●●●● patch | view | raw | blame | history
forms/select/CSelect.vue
@@ -107,6 +107,9 @@
            } else {
                url += '?mode=CSelect';
            }
            if (this.chose && typeof this.chose.value !== 'undefined') {
                url += '&value=' + JSON.stringify(this.chose.value);
            }
            Taro.navigateTo({
                url,
                events: {
@@ -117,7 +120,7 @@
                            value,
                        };
                        this.itemRes.onChange(value);
                        this.onSelectFromPage(data);
                        this.onSelectFromPage && this.onSelectFromPage(data);
                    },
                },
            });
forms/select/cSelect.scss
@@ -25,6 +25,7 @@
    }
    .at-input__container {
        input {
            text-overflow: ellipsis;
            pointer-events: none;
        }
    }