venus-design 1.1.21 → 1.1.22
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.
|
@@ -55,7 +55,7 @@ export interface UltimateSearchProps<T> {
|
|
|
55
55
|
export declare const createUltimateSearchNews: <T extends Record<string, any>>(config: UltimateSearchProps<T>) => ProColumns<T>;
|
|
56
56
|
export declare const createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string, socketSearch?: boolean, searchType?: 'flat' | 'tree', showHistory?: boolean, theme?: ThemeType) => ProColumns<T>;
|
|
57
57
|
declare const _default: {
|
|
58
|
-
createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string | undefined, socketSearch?: boolean, searchType?: "
|
|
58
|
+
createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string | undefined, socketSearch?: boolean, searchType?: "tree" | "flat", showHistory?: boolean, theme?: ThemeType) => ProColumns<T>;
|
|
59
59
|
createUltimateFilter: ({ dataIndex, title, dataSource, options, showSearch, showHistory, theme }: UltimateFilterProps) => Partial<ColumnType<any>>;
|
|
60
60
|
createUltimateSearchNews: <T_1 extends Record<string, any>>(config: UltimateSearchProps<T_1>) => ProColumns<T_1>;
|
|
61
61
|
};
|
|
@@ -108,7 +108,8 @@ var ResizableTabel = function ResizableTabel(props) {
|
|
|
108
108
|
var sceneId = props.dataSceneIid || "";
|
|
109
109
|
var tableContainerRef = useRef(null);
|
|
110
110
|
var resizeDataRef = useRef(null);
|
|
111
|
-
|
|
111
|
+
var tableKey = props.key || "";
|
|
112
|
+
var drawerKey = tableKey + sceneId;
|
|
112
113
|
// 获取 AntD 内部滚动层
|
|
113
114
|
//@ts-ignore
|
|
114
115
|
var getScrollEl = function getScrollEl() {
|
|
@@ -404,7 +405,7 @@ var ResizableTabel = function ResizableTabel(props) {
|
|
|
404
405
|
}
|
|
405
406
|
})), /*#__PURE__*/React.createElement(DrawerDataAuth, {
|
|
406
407
|
open: qxVisible,
|
|
407
|
-
key:
|
|
408
|
+
key: drawerKey,
|
|
408
409
|
onClose: function onClose() {
|
|
409
410
|
return setQxVisible(false);
|
|
410
411
|
},
|