@para-ui/core 2.2.13 → 2.2.14
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/ComboSelect/index.js +1 -1
- package/Form/index.js +1 -1
- package/FormItem/index.js +1 -1
- package/README.md +9 -0
- package/Table/index.js +1 -1
- package/Table/interface.d.ts +1 -1
- package/Table/util.d.ts +2 -1
- package/cdn/ComboSelect/index.js +6 -6
- package/cdn/Form/index.js +1 -1
- package/cdn/FormItem/index.js +1 -1
- package/cdn/Table/index.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/Table/interface.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface HeadDataProps {
|
|
|
29
29
|
/** 是否排序 */
|
|
30
30
|
sort?: boolean;
|
|
31
31
|
/** 渲染函数 (跟表格tableCell参数互斥) */
|
|
32
|
-
render?: (
|
|
32
|
+
render?: (row: any, item?: any, val?: any, index?: number) => ReactNode;
|
|
33
33
|
/** 渲染操作列按钮 */
|
|
34
34
|
operateBtnRender?: (item: any) => OperateBtnProps;
|
|
35
35
|
/** 对齐方式 */
|
package/Table/util.d.ts
CHANGED
|
@@ -17,8 +17,9 @@ export declare const getStringInNumber: (str: string | number) => number;
|
|
|
17
17
|
/**
|
|
18
18
|
* 获取选择列localStorage
|
|
19
19
|
* @param key {string} 键值
|
|
20
|
+
* @param num {number} 过期天数
|
|
20
21
|
* */
|
|
21
|
-
export declare const getLocalStorageSelectHead: (key: string) => HeadLocalStorageItem;
|
|
22
|
+
export declare const getLocalStorageSelectHead: (key: string, num: number) => HeadLocalStorageItem;
|
|
22
23
|
/**
|
|
23
24
|
* 设置选择列localStorage
|
|
24
25
|
* @param key {string} 键值
|