web-component-gallery 2.0.16 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,10 +19,10 @@
19
19
  @select="handleSelect"
20
20
  @search="handleSearch"
21
21
  @popupScroll="handleScroll"
22
- v-on="$listeners"
23
22
  v-bind="attrs"
24
23
  v-model="childSelectedValue"
25
24
  >
25
+ <!-- v-on="$listeners" -->
26
26
  <template v-for="(index, name) in $slots" v-slot:[name]>
27
27
  <slot :name="name" />
28
28
  </template>
@@ -185,7 +185,7 @@ export default {
185
185
  const selectOptions = isChecked ? this.options.map(item => item[this.valueKey]) : []
186
186
  this.$emit('input', selectOptions)
187
187
  this.isSelectOpen = false
188
- },
188
+ },
189
189
  // 选中事件
190
190
  handleSelect(value, option) {
191
191
  if (!value) return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-gallery",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "description": "基础vue、antdvue、less实现的私有组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "files": [