vue2-client 1.9.43 → 1.9.44

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": "vue2-client",
3
- "version": "1.9.43",
3
+ "version": "1.9.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -783,7 +783,7 @@ export default {
783
783
  this.form = Object.assign(this.form, obj)
784
784
  },
785
785
  emitFunc (func, data) {
786
- if (data.model) {
786
+ if (data?.model) {
787
787
  this.$emit(func, data, this.form[data.model])
788
788
  } else {
789
789
  this.$emit(func, data)