next-helios-fe 1.8.98 → 1.8.99
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/package.json
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
import React from "react";
|
3
3
|
import Cl from "react-calendar";
|
4
4
|
import "../../../styles";
|
5
|
-
import dayjs
|
5
|
+
import dayjs from "dayjs";
|
6
6
|
|
7
7
|
interface CalendarProps {
|
8
8
|
options?: {
|
9
9
|
enableSelectRange?: boolean;
|
10
|
-
minDate?:
|
11
|
-
maxDate?:
|
10
|
+
minDate?: dayjs.ConfigType;
|
11
|
+
maxDate?: dayjs.ConfigType;
|
12
12
|
};
|
13
13
|
value?: any;
|
14
14
|
onChange?: (date: any) => void;
|
@@ -95,7 +95,7 @@ export const PermissionTable: React.FC<PermissionTableProps> = ({
|
|
95
95
|
(dataItem: any) =>
|
96
96
|
dataItem.module === item &&
|
97
97
|
dataItem.permission === permissionItem
|
98
|
-
)?.checked
|
98
|
+
)?.checked ?? false
|
99
99
|
}
|
100
100
|
onChange={(e) => {
|
101
101
|
let tempPermission = data.map((dataItem: any) => {
|