@zscreate/zhxy-app-component 1.0.392 → 1.0.393

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.
@@ -946,6 +946,9 @@ export default {
946
946
  this.tableModel[tableModel]["options"]["defaultValue"] = this.models[
947
947
  gen.model
948
948
  ];
949
+ if (gen.options.defaultAddRow && (!this.models[gen.model] || (Array.isArray(this.models[gen.model]) && this.models[gen.model].length === 0))) {
950
+ this.addToTableData(gen, gen.model, 'addModel')
951
+ }
949
952
  this.tableInitByModel(tableModel);
950
953
  }
951
954
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.392",
3
+ "version": "1.0.393",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",