ps-toolkit-ui 0.0.89 → 0.0.90

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.
@@ -7206,8 +7206,6 @@
7206
7206
  p.Action = option.Action;
7207
7207
  p.Accesses = option.Accesses;
7208
7208
  opt.modal.table.permissions = p;
7209
- console.log(p, 'p');
7210
- console.log(p.getUrl(), p.getUrl());
7211
7209
  if (opt.modal.table.form) {
7212
7210
  opt.modal.table.form.url = p.getUrl() + 'Insert';
7213
7211
  opt.modal.table.form.baseUrl = p.getUrl() + 'Insert';
@@ -7215,6 +7213,13 @@
7215
7213
  opt.modal.table.set();
7216
7214
  }
7217
7215
  if (opt.modal.form) {
7216
+ var p = new PermissionClass();
7217
+ p.RelatedId = btn.row.Id;
7218
+ p.Area = _this.permissions.Area;
7219
+ p.Controller = _this.permissions.Controller;
7220
+ p.Action = option.Action;
7221
+ p.Accesses = option.Accesses;
7222
+ console.log(p.getUrl(), 'p.getUrl()');
7218
7223
  console.log(opt.modal.form, 'opt.modal.form');
7219
7224
  console.log(opt.modal.form.baseUrl, 'opt.modal.form.baseUrl');
7220
7225
  opt.modal.form.name = option.Name;