@form-create/element-ui 3.2.8 → 3.2.9

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": "@form-create/element-ui",
3
- "version": "3.2.8",
3
+ "version": "3.2.9",
4
4
  "description": "element-ui动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 5 UI frameworks, and supports the generation of any Vue components. Built-in 20 kinds of commonly used form components and custom components, no matter how complex forms can be easily handled.",
5
5
  "main": "./dist/form-create.min.js",
6
6
  "module": "./dist/form-create.esm.js",
@@ -50,10 +50,10 @@
50
50
  "@form-create/component-elm-group": "^3.2.8",
51
51
  "@form-create/component-elm-radio": "^3.2.8",
52
52
  "@form-create/component-elm-select": "^3.2.0",
53
- "@form-create/component-elm-tree": "^3.2.0",
54
- "@form-create/component-elm-upload": "^3.2.7",
53
+ "@form-create/component-elm-tree": "^3.2.9",
54
+ "@form-create/component-elm-upload": "^3.2.9",
55
55
  "@form-create/component-subform": "^3.1.34",
56
- "@form-create/core": "^3.2.8",
56
+ "@form-create/core": "^3.2.9",
57
57
  "@form-create/utils": "^3.2.0"
58
58
  },
59
59
  "publishConfig": {
@@ -87,5 +87,5 @@
87
87
  "esm"
88
88
  ]
89
89
  },
90
- "gitHead": "a64cd14badae9148882fd1b0ceedca3cdb51957b"
90
+ "gitHead": "0c3e2e89005d6e38a85586b3f4db9119886dc478"
91
91
  }
@@ -98,7 +98,7 @@ export default {
98
98
  e.preventDefault();
99
99
  }
100
100
  },
101
- class: [form.className, form.class, 'form-create', this.options.preview ? 'is-preview' : ''],
101
+ class: [form.className, form.class, 'form-create', this.$handle.preview ? 'is-preview' : ''],
102
102
  style: form.style,
103
103
  type: 'form',
104
104
  };
@@ -111,7 +111,7 @@ export default {
111
111
  });
112
112
  },
113
113
  render(children) {
114
- if (children.slotLen() && !this.options.preview) {
114
+ if (children.slotLen() && !this.$handle.preview) {
115
115
  children.setSlot(undefined, () => this.makeFormBtn());
116
116
  }
117
117
  return this.$r(this.rule, isFalse(this.options.row.show) ? children.getSlots() : [this.makeRow(children)]);