@kmkf-fe-packages/services-components 0.7.5-alpha.2 → 0.7.5-alpha.3
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.
|
@@ -99,15 +99,15 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
99
99
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
|
|
100
100
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
101
101
|
};
|
|
102
|
-
},
|
|
103
|
-
formatFilterValue: function formatFilterValue(val) {
|
|
104
|
-
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
105
|
-
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
106
|
-
return moment(v).valueOf();
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
102
|
}
|
|
103
|
+
// TODO: 自定义时间类型特殊,不需要转换,直接使用 YYYY-MM-DD HH:mm:ss格式查询
|
|
104
|
+
// formatFilterValue: (val: Array<any>) => {
|
|
105
|
+
// if (val?.length > 0) {
|
|
106
|
+
// return val?.map(v => moment(v).valueOf())
|
|
107
|
+
// }
|
|
108
|
+
// }
|
|
110
109
|
};
|
|
110
|
+
|
|
111
111
|
if (dateType !== null && dateType !== void 0 && dateType.includes('RANGE')) {
|
|
112
112
|
obj.componentDataType = 'dateArray';
|
|
113
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.5-alpha.
|
|
3
|
+
"version": "0.7.5-alpha.3",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "17e96c7ac6992e753abdb89b66f7b291b1f61d9e"
|
|
44
44
|
}
|