Skip to content

Commit

Permalink
feat: 修复前端体验问题
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 4961
  • Loading branch information
ielgnaw committed Apr 1, 2024
1 parent 5537a4a commit 1614b54
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
24 changes: 15 additions & 9 deletions src/dashboard-front/src/common/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ const { t } = i18n.global;
export const createMenuData = (): IMenu[] => {
const user = useUser();
return [
// {
// name: 'apigwStageManage',
// enabled: true,
// title: t('环境管理'),
// icon: 'resource',
// children: [
// {
// name: 'apigwStageOverview',
// enabled: true,
// title: t('环境概览'),
// },
// ],
// },
{
name: 'apigwStageManage',
name: 'apigwStageOverview',
enabled: true,
title: t('环境管理'),
title: t('环境概览'),
icon: 'resource',
children: [
{
name: 'apigwStageOverview',
enabled: true,
title: t('环境概览'),
},
],
},
{
name: 'apigwBackendService',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ init();
border-radius: 12px;
box-shadow: 0 2px 4px 0 #1919290d;
overflow: hidden;
&:hover {
box-shadow: 0 2px 4px 0 rgba(25, 25, 41, 0.25098);
}
.plungin-head {
display: flex;
Expand Down Expand Up @@ -698,6 +701,7 @@ init();
.plugin-notes {
color: #63656e;
font-size: 12px;
line-height: 22px;
}
.plugin-chose {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<span v-else>--</span>
</template>
</bk-table-column>
<bk-table-column :label="renderTimeOutLabel" prop="timeout">
<bk-table-column :label="renderTimeOutLabel" prop="timeout" :resizable="false">
<template #default="{ row }">
<!-- <span class="time-wrapper" v-clickOutSide="(e:Event) => handleClickTableOutSide(e, row)">
<template v-if="!row.isEditTime">
Expand Down Expand Up @@ -65,10 +65,7 @@
</template>
</bk-table-column>
</bk-table>
<bk-form-item
:label="t('请求方法')"
required
>
<bk-form-item :label="t('请求方法')" required>
<bk-select
:input-search="false"
v-model="backConfigData.config.method"
Expand All @@ -77,11 +74,7 @@
<bk-option v-for="item in methodData" :key="item.id" :value="item.id" :label="item.name" />
</bk-select>
</bk-form-item>
<bk-form-item
:label="t('请求路径')"
property="config.path"
required
>
<bk-form-item :label="t('请求路径')" property="config.path" required>
<div class="flex-row aligin-items-center">
<bk-input
v-model="backConfigData.config.path"
Expand Down

0 comments on commit 1614b54

Please sign in to comment.