cnhis-design-vue 3.1.22-beta.6 → 3.1.22-beta.8
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.
|
@@ -537,7 +537,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
537
537
|
const day = `00${d.getDate()}`.slice(-2);
|
|
538
538
|
const todayTime = new Date(`${d.getFullYear()}-${month}-${day} 23:59:59`).getTime();
|
|
539
539
|
const pointTime = new Date(`${getXValue(x)}:00`).getTime();
|
|
540
|
-
if (pointTime < new Date(hospitalizationDate).getTime() || pointTime > todayTime)
|
|
540
|
+
if (hospitalizationDate && pointTime < new Date(hospitalizationDate).getTime() || pointTime > todayTime)
|
|
541
541
|
return false;
|
|
542
542
|
return true;
|
|
543
543
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.22-beta.
|
|
3
|
+
"version": "3.1.22-beta.8",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"iOS 7",
|
|
67
67
|
"last 3 iOS versions"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "668fe14bb24fc850cea13e3a7b213c5792fbcccc"
|
|
70
70
|
}
|