ps-toolkit-ui 1.8.49 → 1.8.50

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.
@@ -1360,9 +1360,7 @@
1360
1360
  else {
1361
1361
  if (typeof res.message === 'string') {
1362
1362
  var am = res.message.split(':');
1363
- console.log(am[0]);
1364
1363
  m = form.l(am[0], am.length > 1 ? am.slice(1) : null);
1365
- console.log(m, 111111);
1366
1364
  }
1367
1365
  else {
1368
1366
  // tslint:disable-next-line:forin
@@ -1392,7 +1390,6 @@
1392
1390
  }
1393
1391
  }
1394
1392
  if (m) {
1395
- console.log(m, 2222222);
1396
1393
  HelperClass.addNotification(m);
1397
1394
  }
1398
1395
  if (form.onFailed) {
@@ -6527,9 +6524,9 @@
6527
6524
  this.confirm.form.data = function () {
6528
6525
  return data;
6529
6526
  };
6530
- this.confirm.form.onSuccess = function (btn) {
6527
+ this.confirm.form.onSuccess = function (result) {
6531
6528
  _this.confirm.hide();
6532
- accept(btn);
6529
+ accept(result);
6533
6530
  };
6534
6531
  this.confirm.show();
6535
6532
  };