@form-create/element-ui 3.2.29 → 3.2.30
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/form-create.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @form-create/element-ui v3.2.
|
|
2
|
+
* @form-create/element-ui v3.2.30
|
|
3
3
|
* (c) 2018-2025 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -3201,7 +3201,7 @@
|
|
|
3201
3201
|
};
|
|
3202
3202
|
}
|
|
3203
3203
|
|
|
3204
|
-
resolve(fn(res,
|
|
3204
|
+
resolve(fn(res, config.targetRule, api));
|
|
3205
3205
|
},
|
|
3206
3206
|
onError: function onError(err) {
|
|
3207
3207
|
reject(err);
|
|
@@ -7621,7 +7621,9 @@
|
|
|
7621
7621
|
}
|
|
7622
7622
|
|
|
7623
7623
|
if (option.key) {
|
|
7624
|
+
fc.targetRule = rule;
|
|
7624
7625
|
var res = get('$globalData.' + option.key);
|
|
7626
|
+
delete fc.targetRule;
|
|
7625
7627
|
|
|
7626
7628
|
if (res) {
|
|
7627
7629
|
if (check()) return;
|
|
@@ -8359,6 +8361,8 @@
|
|
|
8359
8361
|
|
|
8360
8362
|
var options = _this4.$handle.loadFetchVar(copy$1(option), get);
|
|
8361
8363
|
|
|
8364
|
+
options.targetRule = _this4.targetRule;
|
|
8365
|
+
|
|
8362
8366
|
_this4.$handle.api.fetch(options).then(function (res) {
|
|
8363
8367
|
_emit(res);
|
|
8364
8368
|
})["catch"](function (e) {
|
|
@@ -9694,7 +9698,7 @@
|
|
|
9694
9698
|
function elmFormCreate() {
|
|
9695
9699
|
return FormCreateFactory({
|
|
9696
9700
|
ui: 'element-ui',
|
|
9697
|
-
version: '3.2.
|
|
9701
|
+
version: '3.2.30',
|
|
9698
9702
|
manager: manager,
|
|
9699
9703
|
extendApi: extendApi,
|
|
9700
9704
|
install: install,
|