@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.esm.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.
|
|
@@ -3197,7 +3197,7 @@ function asyncFetch(config, _fetch, api) {
|
|
|
3197
3197
|
};
|
|
3198
3198
|
}
|
|
3199
3199
|
|
|
3200
|
-
resolve(fn(res,
|
|
3200
|
+
resolve(fn(res, config.targetRule, api));
|
|
3201
3201
|
},
|
|
3202
3202
|
onError: function onError(err) {
|
|
3203
3203
|
reject(err);
|
|
@@ -7617,7 +7617,9 @@ var fetch = function fetch(fc) {
|
|
|
7617
7617
|
}
|
|
7618
7618
|
|
|
7619
7619
|
if (option.key) {
|
|
7620
|
+
fc.targetRule = rule;
|
|
7620
7621
|
var res = get('$globalData.' + option.key);
|
|
7622
|
+
delete fc.targetRule;
|
|
7621
7623
|
|
|
7622
7624
|
if (res) {
|
|
7623
7625
|
if (check()) return;
|
|
@@ -8355,6 +8357,8 @@ function FormCreateFactory(config) {
|
|
|
8355
8357
|
|
|
8356
8358
|
var options = _this4.$handle.loadFetchVar(copy$1(option), get);
|
|
8357
8359
|
|
|
8360
|
+
options.targetRule = _this4.targetRule;
|
|
8361
|
+
|
|
8358
8362
|
_this4.$handle.api.fetch(options).then(function (res) {
|
|
8359
8363
|
_emit(res);
|
|
8360
8364
|
})["catch"](function (e) {
|
|
@@ -9690,7 +9694,7 @@ function install(FormCreate) {
|
|
|
9690
9694
|
function elmFormCreate() {
|
|
9691
9695
|
return FormCreateFactory({
|
|
9692
9696
|
ui: 'element-ui',
|
|
9693
|
-
version: '3.2.
|
|
9697
|
+
version: '3.2.30',
|
|
9694
9698
|
manager: manager,
|
|
9695
9699
|
extendApi: extendApi,
|
|
9696
9700
|
install: install,
|