@jswork/antd-components 1.0.128 → 1.0.129
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/dist/main.cjs.js +1 -1
- package/dist/main.d.mts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.esm.js +1 -1
- package/dist/main.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/table.tsx +2 -2
package/package.json
CHANGED
package/src/lib/table.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: aric 1290657123@qq.com
|
|
3
3
|
* @Date: 2025-10-03 07:11:26
|
|
4
4
|
* @LastEditors: aric 1290657123@qq.com
|
|
5
|
-
* @LastEditTime: 2025-10-24
|
|
5
|
+
* @LastEditTime: 2025-10-24 12:57:50
|
|
6
6
|
*/
|
|
7
7
|
import type { EventMittNamespace } from '@jswork/event-mitt';
|
|
8
8
|
import { ReactHarmonyEvents } from '@jswork/harmony-events';
|
|
@@ -211,7 +211,7 @@ export class AcTable extends React.Component<AcTableProps, AcTableState> {
|
|
|
211
211
|
|
|
212
212
|
public edit = (item: any) => {
|
|
213
213
|
const { module, name, rowKey } = this.props;
|
|
214
|
-
nx.$nav?.(`/${module}/${name}
|
|
214
|
+
nx.$nav?.(`/${module}/${name}/${item[rowKey as string]}/edit`);
|
|
215
215
|
};
|
|
216
216
|
|
|
217
217
|
/* ----- public eventBus methods end ----- */
|