gyyg-components 0.3.24 → 0.3.25

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": "gyyg-components",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "private": false,
5
5
  "main": "lib/gyyg-components.umd.js",
6
6
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  :otherValue.sync="item.otherValue"
44
44
  :delIdList.sync="item.delIdList"
45
45
  v-bind="item"
46
- v-on="item.componentListeners"
46
+ v-on="typeof item.componentListeners === 'function' ? item.componentListeners(formData, item) : item.componentListeners || {}"
47
47
  :ref="item.componentRef"
48
48
  ></component>
49
49
  </el-form-item>
@@ -19,6 +19,7 @@
19
19
  v-model="inputValue"
20
20
  :disabled="inputDisabled"
21
21
  placeholder="请输入"
22
+ @input="inputChange"
22
23
  style="display: inline-block; margin-top: 10px"
23
24
  />
24
25
  <!-- @input="inputChange" -->
@@ -143,6 +144,9 @@ export default {
143
144
  this.props.label
144
145
  ];
145
146
  },
147
+ inputChange(val){
148
+ this.$emit("otherInput", val)
149
+ }
146
150
  },
147
151
  };
148
152
  </script>