@deanwu/vue-component-library 1.0.120 → 1.0.121
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/vue-component-library.common.js +5 -6
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +5 -6
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +1 -1
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -102847,18 +102847,17 @@ var checkItem = function (opt, data, name, next) {
|
|
|
102847
102847
|
message: rule
|
|
102848
102848
|
}];
|
|
102849
102849
|
}
|
|
102850
|
+
if (typeof rule == 'function') {
|
|
102851
|
+
next && next(!!rule());
|
|
102852
|
+
return;
|
|
102853
|
+
}
|
|
102850
102854
|
if (!rule || !rule.length) {
|
|
102851
102855
|
next && next(true);
|
|
102852
102856
|
return;
|
|
102853
102857
|
}
|
|
102854
102858
|
function loop(index) {
|
|
102855
102859
|
var r = rule[index];
|
|
102856
|
-
if (
|
|
102857
|
-
let temp = r();
|
|
102858
|
-
callback(index, temp === true, {
|
|
102859
|
-
message: temp
|
|
102860
|
-
});
|
|
102861
|
-
} else if (r.type == 'async') {
|
|
102860
|
+
if (r.type == 'async') {
|
|
102862
102861
|
opt.SYS_AJAX({
|
|
102863
102862
|
url: r.url,
|
|
102864
102863
|
data: function () {
|