meixioacomponent 0.2.86 → 0.2.87

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": "meixioacomponent",
3
- "version": "0.2.86",
3
+ "version": "0.2.87",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -223,7 +223,11 @@ export default {
223
223
  this.setChunkLength();
224
224
  },
225
225
  setChunkLength() {
226
- if (this.$props.rowNumber) {
226
+ const { formConfig } = this.$props;
227
+ if (formConfig.rowNumber) {
228
+ this.chunkLength = formConfig.rowNumber;
229
+ return;
230
+ } else if (this.$props.rowNumber) {
227
231
  this.chunkLength = this.$props.rowNumber;
228
232
  return;
229
233
  }