ps-toolkit-ui 1.8.13 → 1.8.16

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.
@@ -2875,19 +2875,13 @@
2875
2875
  var _loop_3 = function (r) {
2876
2876
  if (r.table) {
2877
2877
  var options = JSON.parse(JSON.stringify(_this.row.Options));
2878
- console.log(options);
2879
- console.log(option);
2880
- console.log(r);
2881
2878
  var rowOption_1 = options.find(function (x) { return x.ParentId === option.Id && x.Action === r.name; });
2882
- console.log(options.filter(function (x) { return x.ParentId === rowOption_1.Id; }));
2883
2879
  var p = new PermissionClass();
2884
2880
  p.RelatedId = _this.row.Data.Id;
2885
2881
  p.Area = _this.table.permissions.Area;
2886
2882
  p.Controller = option.Controller;
2887
2883
  p.Action = r.name;
2888
2884
  p.Accesses = options.filter(function (x) { return x.ParentId === rowOption_1.Id; });
2889
- p.Accesses.forEach(function (x) { return x.Url = x.Url.replace('{action}', r.name.toLowerCase()); });
2890
- console.log(p);
2891
2885
  r.table.permissions = p;
2892
2886
  if (r.table.form) {
2893
2887
  r.table.form.url = option.Url + 'insert';