ps-toolkit-ui 1.4.34 → 1.4.37
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.
- package/bundles/ps-toolkit-ui.umd.js +2 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/table/row/table.row.component.js +3 -2
- package/fesm2015/ps-toolkit-ui.js +2 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2712,8 +2712,9 @@
|
|
|
2712
2712
|
p.Area = _this.table.permissions.Area;
|
|
2713
2713
|
p.Controller = option.Controller;
|
|
2714
2714
|
p.Action = r.name;
|
|
2715
|
+
console.log(r.name);
|
|
2715
2716
|
p.Accesses = _this.row.Options.filter(function (x) { return x.ParentId === option.Id; });
|
|
2716
|
-
p.Accesses.forEach(function (x) { return x.Url = x.Url.replace('{}', r.name.toLowerCase()); });
|
|
2717
|
+
p.Accesses.forEach(function (x) { return x.Url = x.Url.replace('{action}', r.name.toLowerCase()); });
|
|
2717
2718
|
r.table.permissions = p;
|
|
2718
2719
|
if (r.table.form) {
|
|
2719
2720
|
r.table.form.url = option.Url + 'insert';
|