whistle.mock-plugins 1.2.2-beta.2 → 1.2.2-beta.3
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
|
@@ -879,11 +879,15 @@ const InterfaceManagement = () => {
|
|
|
879
879
|
dataIndex: 'activeResponseId',
|
|
880
880
|
key: 'currentResponse',
|
|
881
881
|
width: tableConfig.columnWidths?.currentResponse || 180,
|
|
882
|
+
className: 'current-response-column',
|
|
882
883
|
onHeaderCell: (column) => ({
|
|
883
884
|
width: column.width,
|
|
884
885
|
columnKey: 'currentResponse',
|
|
885
886
|
onResize: handleResize,
|
|
886
887
|
}),
|
|
888
|
+
onCell: () => ({
|
|
889
|
+
className: 'current-response-cell',
|
|
890
|
+
}),
|
|
887
891
|
render: (activeResponseId, record) => {
|
|
888
892
|
// 如果没有响应数据,返回空
|
|
889
893
|
if (!record.responses || !Array.isArray(record.responses) || record.responses.length === 0) {
|
|
@@ -294,20 +294,12 @@
|
|
|
294
294
|
.interface-table td {
|
|
295
295
|
padding: 12px 16px !important;
|
|
296
296
|
white-space: nowrap;
|
|
297
|
-
overflow:
|
|
297
|
+
overflow: hidden;
|
|
298
298
|
text-overflow: ellipsis;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
/*
|
|
302
|
-
.interface-
|
|
303
|
-
overflow: visible !important;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.interface-list-container .ant-table-container {
|
|
307
|
-
overflow: visible !important;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.interface-list-container .ant-table-body {
|
|
301
|
+
/* 当前响应列需要 overflow: visible 以显示完整的下拉菜单 */
|
|
302
|
+
.interface-table td.current-response-cell {
|
|
311
303
|
overflow: visible !important;
|
|
312
304
|
}
|
|
313
305
|
|