@form-create/component-elm-group 2.5.32 → 2.5.33
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/component.jsx +1 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@form-create/component-elm-group",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.33",
|
|
4
4
|
"description": "@form-create/element-ui 内置组件",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "12917cac42299a1b546cb76ab6a901bcaa872801"
|
|
43
43
|
}
|
package/src/component.jsx
CHANGED
|
@@ -141,9 +141,6 @@ export default {
|
|
|
141
141
|
n.forEach((val, i) => {
|
|
142
142
|
this.setValue(keys[i], n[i]);
|
|
143
143
|
});
|
|
144
|
-
if (o.length && !n.length) {
|
|
145
|
-
this.input([]);
|
|
146
|
-
}
|
|
147
144
|
}
|
|
148
145
|
}
|
|
149
146
|
},
|
|
@@ -181,7 +178,7 @@ export default {
|
|
|
181
178
|
return;
|
|
182
179
|
}
|
|
183
180
|
this.cache(key, value);
|
|
184
|
-
$f.coverValue(value || {});
|
|
181
|
+
$f && $f.coverValue(value || {});
|
|
185
182
|
},
|
|
186
183
|
addRule(i, emit) {
|
|
187
184
|
const rule = this.formCreateInject.form.copyRules(this.formRule);
|