wt-enjoy-link-antd-repack 4.1.62 → 4.1.64
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["base.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAA;;;;;;;;;;;;AAMzF,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["base.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAA;;;;;;;;;;;;AAMzF,wBA8IC"}
|
@@ -114,7 +114,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
114
114
|
style: {
|
115
115
|
maxWidth: '400px'
|
116
116
|
},
|
117
|
-
children: /*#__PURE__*/_jsx(BiuCustomTable, {
|
117
|
+
children: exProps.mode === 'multiple' ? /*#__PURE__*/_jsx(BiuCustomTable, {
|
118
118
|
loading: loading,
|
119
119
|
bordered: false,
|
120
120
|
scroll: {
|
@@ -122,7 +122,6 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
122
122
|
x: true
|
123
123
|
},
|
124
124
|
rowSelection: {
|
125
|
-
checkStrictly: exProps.mode === 'multiple' ? true : false,
|
126
125
|
selectedRowKeys: selectValue,
|
127
126
|
onChange: function onChange(selectedRowKeys, selectedRows) {
|
128
127
|
setSelectValue(selectedRowKeys);
|
@@ -138,11 +137,21 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
138
137
|
}
|
139
138
|
}
|
140
139
|
},
|
140
|
+
rowKey: exProps.mode === 'multiple' ? "".concat(rowLabel) : rowKey,
|
141
|
+
pagination: false,
|
142
|
+
columns: columns,
|
143
|
+
dataSource: operDataSource
|
144
|
+
}) : /*#__PURE__*/_jsx(BiuCustomTable, {
|
145
|
+
loading: loading,
|
146
|
+
bordered: false,
|
147
|
+
scroll: {
|
148
|
+
y: 300,
|
149
|
+
x: true
|
150
|
+
},
|
141
151
|
onRow: function onRow(record) {
|
142
152
|
return {
|
143
153
|
onDoubleClick: function onDoubleClick() {
|
144
154
|
var _formRef$current;
|
145
|
-
if (exProps.mode === 'multiple') return;
|
146
155
|
setSelectValue(record[rowLabel]);
|
147
156
|
if (_onChange) {
|
148
157
|
_onChange(record[rowKey], record);
|
@@ -154,7 +163,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
154
163
|
}
|
155
164
|
};
|
156
165
|
},
|
157
|
-
rowKey:
|
166
|
+
rowKey: rowKey,
|
158
167
|
pagination: false,
|
159
168
|
columns: columns,
|
160
169
|
dataSource: operDataSource
|