vue2-client 1.8.253 → 1.8.254

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.8.253",
3
+ "version": "1.8.254",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -596,7 +596,7 @@ export default {
596
596
  this.debouncedUpdateOptions()
597
597
  }
598
598
  // 如果有自定义函数变更函数
599
- if (this.attr.dataChangeFunc()) {
599
+ if (this.attr.dataChangeFunc) {
600
600
  this.debouncedDataChangeFunc()
601
601
  }
602
602
  // 地址搜索框赋值
@@ -615,7 +615,7 @@ export default {
615
615
  },
616
616
  async dataChangeFunc () {
617
617
  if (this.attr.dataChangeFunc) {
618
- await executeStrFunction(this.attr.keyName, [this.form, this.setForm])
618
+ await executeStrFunction(this.attr.dataChangeFunc, [this.form, this.setForm, this.attr])
619
619
  }
620
620
  },
621
621
  init () {