Skip to content

Commit

Permalink
feat: 优化体验问题
Browse files Browse the repository at this point in the history
  • Loading branch information
polo0428 committed Dec 1, 2023
1 parent 84f76ae commit abc0d32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<template #label>
<span class="label-cls">{{ t('请求方法:') }}</span>
</template>
<span class="value-cls">{{ formData.method }}</span>
<bk-tag :theme="methodsEnum[formData?.method]">{{ formData?.method }}</bk-tag>
</bk-form-item>
<bk-form-item class="form-item-cls">
<template #label>
Expand Down Expand Up @@ -160,6 +160,7 @@ import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
import { getResourceDetailData, getBackendsDetailData, deleteResources } from '@/http';
import { Message } from 'bkui-vue';
import { MethodsEnum } from '@/types';
const router = useRouter();
Expand All @@ -183,6 +184,8 @@ const formData = ref<any>({});
// 服务table
const servicesData = ref<any>({});
const methodsEnum: any = ref(MethodsEnum);
// 资源详情
const getResourceDetails = async () => {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@
:header="{ name: 'X-CSRFToken', value: CSRFToken }"
>
<template #default>
<bk-button>
<i class="icon apigateway-icon icon-ag-add-small pr10"></i>
<div>
<i class="icon apigateway-icon icon-ag-add-small"></i>
{{ t('导入文档压缩包') }}
</bk-button>
</div>
</template>
</bk-upload>
</bk-form-item>
Expand Down Expand Up @@ -124,6 +124,7 @@
<bk-table-column
width="80"
type="selection"
align="center"
/>
<bk-table-column
v-if="docType === 'archive'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<bk-table-column
width="80"
type="selection"
align="center"
/>
<bk-table-column
:label="t('请求路径')"
Expand Down

0 comments on commit abc0d32

Please sign in to comment.