ps-toolkit-ui 1.4.29 → 1.4.32

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.
@@ -2654,9 +2654,8 @@
2654
2654
  _this.changeRows.emit(_this.row.Data);
2655
2655
  }
2656
2656
  else {
2657
- console.log(_this.table.permissions, 'this.table.permissions');
2658
2657
  _this.confirmShow.emit({
2659
- action: _this.table.permissions.Action,
2658
+ action: option.Action,
2660
2659
  url: _this.getOptionUrl(option.Url, _this.table.permissions.RelatedId, _this.row.Data.Id),
2661
2660
  accept: function () {
2662
2661
  if (_this.table.hasChildren && _this.table.childrenAutoLoad && _this.row.Data.ParentId != null) {
@@ -2751,7 +2750,7 @@
2751
2750
  p.Area = _this.table.permissions.Area;
2752
2751
  p.Controller = option.Controller;
2753
2752
  p.Action = option.Action;
2754
- _this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), option.Url + '/' + _this.row.Data.Id, null, function () {
2753
+ _this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), option.Url.replace('{}', _this.row.Data.Id), null, function () {
2755
2754
  _this.table.load();
2756
2755
  });
2757
2756
  };