quling
2026-08-18 d24738643f851ee3f4f3c69f7aff02f1e50ea5da
feat0806: 调整直播间密码按钮的位置
1个文件已修改
10 ■■■■■ 已修改文件
tcm-training-admin/src/pages/live/broadcast/index.tsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tcm-training-admin/src/pages/live/broadcast/index.tsx
@@ -167,11 +167,6 @@
      width: 180,
      render: (_, record, index) => (
        <Space size={16} className="live-broadcast-table__actions">
          {index === 0 && canEdit ? (
            <button type="button" onClick={() => openPasswordModal(record)}>
              直播间密码
            </button>
          ) : null}
          {canDetail ? (
            <button type="button" onClick={() => history.push(`/live/course/broadcast/${record.id}`)}>
              详情
@@ -187,6 +182,11 @@
              {record.status === 1 ? '禁用' : '启用'}
            </button>
          ) : null}
          {index === 0 && canEdit ? (
            <button type="button" onClick={() => openPasswordModal(record)}>
              直播间密码
            </button>
          ) : null}
        </Space>
      ),
    },