diff --git a/web/src/components/table/ChannelsTable.js b/web/src/components/table/ChannelsTable.js index f401b506..18443243 100644 --- a/web/src/components/table/ChannelsTable.js +++ b/web/src/components/table/ChannelsTable.js @@ -41,7 +41,7 @@ import { Form, Tabs, TabPane, - Select, + Select } from '@douyinfe/semi-ui'; import { IllustrationNoResult, @@ -51,14 +51,8 @@ import EditChannel from '../../pages/Channel/EditChannel.js'; import { IconTreeTriangleDown, IconPlus, - IconRefresh, - IconSetting, - IconDescend, IconSearch, - IconEdit, IconDelete, - IconStop, - IconPlay, IconMore, IconCopy, IconSmallTriangleRight @@ -557,7 +551,6 @@ const ChannelsTable = () => { type='warning' size="small" className="!rounded-full" - icon={} onClick={() => manageChannel(record.id, 'disable', record)} > {t('禁用')} @@ -568,7 +561,6 @@ const ChannelsTable = () => { type='secondary' size="small" className="!rounded-full" - icon={} onClick={() => manageChannel(record.id, 'enable', record)} > {t('启用')} @@ -580,7 +572,6 @@ const ChannelsTable = () => { type='tertiary' size="small" className="!rounded-full" - icon={} onClick={() => { setEditingChannel(record); setShowEdit(true); @@ -605,19 +596,7 @@ const ChannelsTable = () => { ); } else { - // 标签操作的下拉菜单项 - const tagMenuItems = [ - { - node: 'item', - name: t('编辑'), - icon: , - onClick: () => { - setShowEditTag(true); - setEditingTag(record.key); - }, - }, - ]; - + // 标签操作按钮 return ( - { + setShowEditTag(true); + setEditingTag(record.key); + }} > - ); }