tplus-components-touch 3.47.4 → 3.47.5
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.
@@ -389,7 +389,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
389
389
|
|
390
390
|
_promise2.default.resolve(!_this2.props.onValidate || _this2.props.onValidate({ isNotAutoFocus: true, fn: function fn(data) {
|
391
391
|
return _this2.isNoProductTip(data);
|
392
|
-
} })).then(function (result) {
|
392
|
+
}, type: type })).then(function (result) {
|
393
393
|
if (result) {
|
394
394
|
_this2.setState({
|
395
395
|
settleDisabled: false
|
@@ -512,7 +512,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
512
512
|
// 支持异步验证过程
|
513
513
|
_promise2.default.resolve(!_this2.props.onValidate || _this2.props.onValidate({ fn: function fn(data) {
|
514
514
|
return _this2.isNoProductTip(data);
|
515
|
-
} })).then(function (result) {
|
515
|
+
}, type: type })).then(function (result) {
|
516
516
|
if (result) {
|
517
517
|
_this2.setState({
|
518
518
|
settleDisabled: false
|