@zgfe/modules-interval 1.0.3-alpha.10 → 1.0.3-alpha.11
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.
|
@@ -145,6 +145,10 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
145
145
|
align: 'right',
|
|
146
146
|
dataIndex: 'total',
|
|
147
147
|
key: 'total',
|
|
148
|
+
sorter: function sorter(a, b) {
|
|
149
|
+
var _a$total, _b$total;
|
|
150
|
+
return ((_a$total = a === null || a === void 0 ? void 0 : a.total) !== null && _a$total !== void 0 ? _a$total : 0) - ((_b$total = b === null || b === void 0 ? void 0 : b.total) !== null && _b$total !== void 0 ? _b$total : 0);
|
|
151
|
+
},
|
|
148
152
|
render: function render(text, record) {
|
|
149
153
|
return /*#__PURE__*/React.createElement("span", null, " ", convertToHMS(text));
|
|
150
154
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-interval",
|
|
3
|
-
"version": "1.0.3-alpha.
|
|
3
|
+
"version": "1.0.3-alpha.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"umi-request": "^1.4.0",
|
|
63
63
|
"yorkie": "^2.0.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "aa9e166ceda2f2669f5bcf0dd5d2a672869b34e7"
|
|
66
66
|
}
|