sone-ui-component-3.2.4 2.1.3 → 2.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -273,7 +273,7 @@ export default {
273
273
  watch: {
274
274
  filterText(oldVal,newVal) {
275
275
  if(oldVal!==newVal){
276
- this.searchType === 'normal' ? this.changeFilterText() : this.$emit('searchInput', val)
276
+ this.searchType === 'normal' ? this.changeFilterText(newVal) : this.$emit('searchInput', newVal)
277
277
  }
278
278
  },
279
279
  treeData:{
@@ -295,7 +295,7 @@ export default {
295
295
  this.resetHandleData()
296
296
  },
297
297
  methods: {
298
- changeFilterText(){
298
+ changeFilterText(val){
299
299
  this.$refs.tree.filter(val)
300
300
  this.$emit('searchInput', val)
301
301
  },
package/src/index.js CHANGED
@@ -55,7 +55,7 @@ if (typeof window !== 'undefined' && window.Vue) {
55
55
  }
56
56
 
57
57
  export default {
58
- version: '2.1.3',
58
+ version: '2.1.4',
59
59
  locale: locale.use,
60
60
  i18n: locale.i18n,
61
61
  install,