fix(ui): 统一表格交互,调整企业技能与质量页面,修复浮层引用警告
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import TableActionModal from '@/components/common/table/TableActionModal';
|
||||
import {
|
||||
Plus as ActionPlus,
|
||||
Trash2 as ActionTrash2,
|
||||
@@ -476,7 +477,7 @@ const SettingsAPIInfo = ({ options, refresh }) => {
|
||||
</Form>
|
||||
</Modal>
|
||||
|
||||
<Modal
|
||||
<TableActionModal
|
||||
title={t('确认删除')}
|
||||
visible={showDeleteModal}
|
||||
onOk={confirmDeleteApi}
|
||||
@@ -487,13 +488,9 @@ const SettingsAPIInfo = ({ options, refresh }) => {
|
||||
okText={t('确认删除')}
|
||||
cancelText={t('取消')}
|
||||
type='warning'
|
||||
okButtonProps={{
|
||||
type: 'danger',
|
||||
theme: 'solid',
|
||||
}}
|
||||
>
|
||||
<Text>{t('确定要删除此API信息吗?')}</Text>
|
||||
</Modal>
|
||||
</TableActionModal>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user