eservices-core 1.0.420 → 1.0.421
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/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.421
|
|
3
3
|
* (c) 2022 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -3710,7 +3710,11 @@ class List$1 extends EventEmitter {
|
|
|
3710
3710
|
}
|
|
3711
3711
|
if (cell.class)
|
|
3712
3712
|
cellClasses.push(...(Array.isArray(cell.class) ? cell.class : [cell.class]));
|
|
3713
|
-
|
|
3713
|
+
const attr = {};
|
|
3714
|
+
if (cell.onClick) {
|
|
3715
|
+
attr.onClick = cell.onClick.bind(rowValues);
|
|
3716
|
+
}
|
|
3717
|
+
return [vue.h("td", Object.assign({ class: cellClasses }, attr), cellNodeChildren)];
|
|
3714
3718
|
}
|
|
3715
3719
|
/**
|
|
3716
3720
|
* @description Принимает конфигурацию списка
|