@v2coding/ui 0.1.36 → 0.1.37
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/v2coding-ui.ssr.js
CHANGED
|
@@ -2452,12 +2452,39 @@ var FieldMixin = {
|
|
|
2452
2452
|
this.$emit('ready');
|
|
2453
2453
|
},
|
|
2454
2454
|
emitChange: function emitChange() {
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2455
|
+
var _arguments = arguments,
|
|
2456
|
+
_this2 = this;
|
|
2457
|
+
|
|
2458
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2459
|
+
var _len, args, _key;
|
|
2460
|
+
|
|
2461
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2462
|
+
while (1) {
|
|
2463
|
+
switch (_context.prev = _context.next) {
|
|
2464
|
+
case 0:
|
|
2465
|
+
for (_len = _arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2466
|
+
args[_key] = _arguments[_key];
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
_this2.$emit.apply(_this2, ['input'].concat(args));
|
|
2458
2470
|
|
|
2459
|
-
|
|
2460
|
-
|
|
2471
|
+
_this2.$emit.apply(_this2, ['change'].concat(args));
|
|
2472
|
+
|
|
2473
|
+
_context.next = 5;
|
|
2474
|
+
return _this2.$nextTick();
|
|
2475
|
+
|
|
2476
|
+
case 5:
|
|
2477
|
+
if (_this2.$parent.$options.componentName === 'ElFormItem') {
|
|
2478
|
+
_this2.$parent.validate('change');
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
case 6:
|
|
2482
|
+
case "end":
|
|
2483
|
+
return _context.stop();
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
}, _callee);
|
|
2487
|
+
}))();
|
|
2461
2488
|
},
|
|
2462
2489
|
onChange: function onChange(val) {
|
|
2463
2490
|
this.emitChange(val);
|