region-picker icon indicating copy to clipboard operation
region-picker copied to clipboard

两个BUG反馈

Open isaac-zhao opened this issue 6 years ago • 0 comments

  1. 在form表单下,region-picker(prop:muliple=true),点击确认、取消按钮会Submit Form,需要设置button的type=button h( 'button', { class: { 'region-picker__button': true, default: true }, attrs: { type: 'button' }, on: { click: () => this.blur() } }, this.cancelText ),
  2. region-picker(prop:muliple=true),点击取消按钮,没有Reset Value blur() { this.panelVisible = false this.searchValue = '' if (this.multiple && !this.confirmed) { this.selected = this._selected this.$emit('change', this.modelValue) this.$emit('input', this.modelValue) this.dispatch('ElFormItem', 'el.form.change', this.modelValue) } if (this.$refs.searchInput) { this.$nextTick(() => { this.$refs.searchInput.blur() this.$emit('blur') this.dispatch('ElFormItem', 'el.form.blur', this.modelValue) this.isFocus = false }) } } },

isaac-zhao avatar Jan 22 '19 06:01 isaac-zhao