@yorha2b-lab/autodev 7.5.7 → 7.5.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorha2b-lab/autodev",
3
- "version": "7.5.7",
3
+ "version": "7.5.8",
4
4
  "description": "基于 AI 视觉与语义协议的前端 (React+Antd) 代码构筑与旧系统重构引擎",
5
5
  "bin": {
6
6
  "bunker": "bin/bunker.js"
@@ -1,4 +1,4 @@
1
- import { Table } from 'antd'
1
+ import { Space, Table } from 'antd'
2
2
  import { EditableRow, EditableCell } from './EditableCell'
3
3
  import { useRef, useMemo, useEffect, useCallback } from 'react'
4
4
 
@@ -116,7 +116,7 @@ export const MyTable = ({ size, query, total, search, autoScroll, onChange, setS
116
116
  <div style={{ display: 'flex' }}>
117
117
  <a style={{ marginLeft: 'auto', marginRight: 8 }} onClick={() => {
118
118
  if (col.remote) {
119
- setSearch(prev => ({ ...prev, pageNo: 1, [col.dataIndex]: col.formatFilter(selectedKeys) }))
119
+ setSearch(prev => ({ ...prev, pageNo: 1, [col.dataIndex]: col.formatFilter?.(selectedKeys) ?? selectedKeys?.toString() }))
120
120
  }
121
121
  confirm()
122
122
  }}>确定</a>