ps-toolkit-ui 0.0.139 → 0.0.140
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 +4 -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 +5 -2
- package/fesm2015/ps-toolkit-ui.js +4 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2622,8 +2622,11 @@
|
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
2624
|
else if (option.AcceessType === exports.PermissionAccessTypeEnum.Delete) {
|
|
2625
|
+
console.log(option, 'option');
|
|
2626
|
+
console.log(opt, 'opt');
|
|
2625
2627
|
opt.class = opt.class.replace('blue', 'red');
|
|
2626
2628
|
opt.onClick = function () {
|
|
2629
|
+
console.log(_this.row.Data.Id, 'opt onClick');
|
|
2627
2630
|
if (_this.table.form) {
|
|
2628
2631
|
_this.table.form.clear();
|
|
2629
2632
|
}
|
|
@@ -2738,7 +2741,7 @@
|
|
|
2738
2741
|
});
|
|
2739
2742
|
};
|
|
2740
2743
|
}
|
|
2741
|
-
else
|
|
2744
|
+
else {
|
|
2742
2745
|
if (option.OnClick) {
|
|
2743
2746
|
opt.onClick = function (btn) {
|
|
2744
2747
|
option.OnClick(btn);
|