ps-toolkit-ui 1.17.28 → 1.17.30
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 +3 -2
- 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/classes/request.class.js +3 -3
- package/esm2015/lib/components/table/row/table.row.component.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2124,12 +2124,12 @@
|
|
|
2124
2124
|
}
|
|
2125
2125
|
this.getClient(url, method, data, function (res) {
|
|
2126
2126
|
if (success) {
|
|
2127
|
-
success(res
|
|
2127
|
+
success(res);
|
|
2128
2128
|
}
|
|
2129
2129
|
if (btn) {
|
|
2130
2130
|
btn.loading = false;
|
|
2131
2131
|
}
|
|
2132
|
-
}, function (
|
|
2132
|
+
}, function () {
|
|
2133
2133
|
if (failure) {
|
|
2134
2134
|
failure('Error');
|
|
2135
2135
|
}
|
|
@@ -3631,6 +3631,7 @@
|
|
|
3631
3631
|
var _loop_3 = function (r) {
|
|
3632
3632
|
if (r.table) {
|
|
3633
3633
|
var options = JSON.parse(JSON.stringify((_c = _this.row.Options) !== null && _c !== void 0 ? _c : []));
|
|
3634
|
+
console.log(options, option, r);
|
|
3634
3635
|
var rowOption_1 = options.find(function (x) { return x.ParentId === option.Id && x.Action === r.name; });
|
|
3635
3636
|
var p = new PermissionClass();
|
|
3636
3637
|
p.RelatedId = _this.row.Data.Id;
|