diff --git a/src/components/api/Form.vue b/src/components/api/Form.vue
index 026d3d3e..d351a987 100644
--- a/src/components/api/Form.vue
+++ b/src/components/api/Form.vue
@@ -14,12 +14,15 @@
+
{{ $t('application.message.notApplied') }}
- {{ $t('common.button.apply') }}
+ {{
+ $t('common.button.apply')
+ }}
{
+ ElMessage.success(this.$t('application.message.applySuccessfully'));
this.$emit('refresh-applications');
})
.catch((error) => {
diff --git a/src/pages/service/Detail.vue b/src/pages/service/Detail.vue
index 4cbe1904..7f4f2124 100644
--- a/src/pages/service/Detail.vue
+++ b/src/pages/service/Detail.vue
@@ -127,19 +127,7 @@ import { IApi, IApiListResponse } from '@/operators/api/models';
import { IApplicationType } from '@/operators/application/models';
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
import { ROUTE_CONSOLE_APPLICATION_LIST } from '@/router';
-import {
- ElCol,
- ElRow,
- ElButton,
- ElCard,
- ElDivider,
- ElSkeleton,
- ElSkeletonItem,
- ElDialog,
- ElDescriptions,
- ElDescriptionsItem,
- ElCheckbox
-} from 'element-plus';
+import { ElCol, ElRow, ElButton, ElCard, ElDivider, ElSkeleton, ElSkeletonItem } from 'element-plus';
import ApiInfo from '@/components/api/Info.vue';
import ProxyInfo from '@/components/proxy/Info.vue';
import ApplicationConfirm from '@/components/application/Confirm.vue';