hejianhao
2026-08-18 9a69a69bd56762ba8a9ee495460d829709e44830
feat0806: 编辑诊所按钮距离调整
1个文件已修改
6 ■■■■■ 已修改文件
tcm-training-admin/src/pages/member/clinic/index.tsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tcm-training-admin/src/pages/member/clinic/index.tsx
@@ -1,5 +1,5 @@
import { history, useAccess } from '@umijs/max';
import { Button, Cascader, DatePicker, Form, Input, Pagination, Select, Table, Upload, message } from 'antd';
import { Button, Cascader, DatePicker, Form, Input, Pagination, Select, Space, Table, Upload, message } from 'antd';
import type { ColumnsType } from 'antd/es/table';
import dayjs, { type Dayjs } from 'dayjs';
import React, { useEffect, useState } from 'react';
@@ -153,7 +153,7 @@
      title: '操作',
      width: 150,
      render: (_, record) => (
        <>
        <Space size={16} className="member-clinic-table__actions">
        <button
          type="button"
          className="member-clinic-table__action"
@@ -162,7 +162,7 @@
          详情
        </button>
        {access["member:clinic:edit"] ? <button type="button" className="member-clinic-table__action" onClick={() => history.push(`/member/user/clinic/${record.id}/edit`)}>编辑</button> : null}
        </>
        </Space>
      ),
    },
  ];