@zgfe/business-lib 1.1.63-tag.2 → 1.1.63-tag.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.
|
@@ -11,10 +11,10 @@ import { ConfigProvider } from 'antd';
|
|
|
11
11
|
import zhCN from 'antd/es/locale/zh_CN';
|
|
12
12
|
export default (function () {
|
|
13
13
|
var _useState = useState({
|
|
14
|
-
unit: '
|
|
14
|
+
unit: 'month',
|
|
15
15
|
begin: '2023-06-23',
|
|
16
16
|
end: '2023-06-30',
|
|
17
|
-
relative:
|
|
17
|
+
relative: 2
|
|
18
18
|
}),
|
|
19
19
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20
20
|
time = _useState2[0],
|
|
@@ -59,7 +59,7 @@ var BizQuickDatePicker = function BizQuickDatePicker(props) {
|
|
|
59
59
|
setTimeHandle(_value.unit, _value.relative);
|
|
60
60
|
var _data = _value.unit === 'day' ? quickModuleTwoOptions : quickModuleOneOptions;
|
|
61
61
|
_data.map(function (item) {
|
|
62
|
-
if (item.value === _value.relative) {
|
|
62
|
+
if (item.value === _value.relative && item.type === _value.unit) {
|
|
63
63
|
setShowText(item.label);
|
|
64
64
|
setTipWidth(item.width);
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.1.63-tag.
|
|
3
|
+
"version": "1.1.63-tag.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react": "^16.12.0 || ^17.0.0",
|
|
61
61
|
"yorkie": "^2.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "cb649c3f0101315215bcd2afda65276805a43085"
|
|
64
64
|
}
|