From 0c85b89c0dfc314c677883d8a52cbaa9fc14baa5 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 23 Aug 2023 16:57:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E6=8E=A5=E5=8F=A3=E5=AF=BC?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/hooks/useModal.ts | 1 - .../setting/system/pluginManager/components/pluginTable.vue | 2 +- frontend/src/views/setting/system/resourcePool/detail.vue | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/hooks/useModal.ts b/frontend/src/hooks/useModal.ts index 16decb8f79..53593619a3 100644 --- a/frontend/src/hooks/useModal.ts +++ b/frontend/src/hooks/useModal.ts @@ -33,7 +33,6 @@ export default function useModal() { return { openModal: (options: ModalOptions) => { const okHandlerLoading = ref(false); - // error 使用 warning的感叹号图标 Modal[options.type]({ // 默认设置按钮属性,也可通过options传入覆盖 okButtonProps: { diff --git a/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue b/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue index f760c75692..d03a851159 100644 --- a/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue +++ b/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue @@ -163,7 +163,7 @@ import MsTableMoreAction from '@/components/pure/ms-table-more-action/index.vue'; import type { ActionsItem } from '@/components/pure/ms-table-more-action/types'; import { getPluginList, deletePluginReq, updatePlugin, getScriptDetail } from '@/api/modules/setting/pluginManger'; - import { getSystemOrgOption } from '@/api/modules/setting/system/organizationAndProject'; + import { getSystemOrgOption } from '@/api/modules/setting/organizationAndProject'; import MsButton from '@/components/pure/ms-button/index.vue'; import UploadModel from './uploadModel.vue'; import UpdatePluginModal from './updatePluginModal.vue'; diff --git a/frontend/src/views/setting/system/resourcePool/detail.vue b/frontend/src/views/setting/system/resourcePool/detail.vue index 5e935a3290..443ad4649a 100644 --- a/frontend/src/views/setting/system/resourcePool/detail.vue +++ b/frontend/src/views/setting/system/resourcePool/detail.vue @@ -346,7 +346,7 @@ import { downloadStringFile, sleep } from '@/utils'; import { scrollIntoView } from '@/utils/dom'; import { addPool, getPoolInfo, updatePoolInfo } from '@/api/modules/setting/resourcePool'; - import { getSystemOrgOption } from '@/api/modules/setting/system/organizationAndProject'; + import { getSystemOrgOption } from '@/api/modules/setting/organizationAndProject'; import useAppStore from '@/store/modules/app'; import type { MsBatchFormInstance, FormItemModel } from '@/components/business/ms-batch-form/types';