fix: update menu (#249)

This commit is contained in:
Fine0830 2023-03-27 21:37:45 +08:00 committed by GitHub
parent 5973632f0f
commit 68eea52e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 10 deletions

View File

@ -184,7 +184,7 @@ limitations under the License. -->
.title { .title {
display: inline-block; display: inline-block;
max-width: 110px; max-width: 200px;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }

View File

@ -382,6 +382,7 @@ const msg = {
AWSCloudEKS: "EKS", AWSCloudEKS: "EKS",
AWSCloudS3: "S3", AWSCloudS3: "S3",
AWSCloudDynamoDB: "DynamoDB", AWSCloudDynamoDB: "DynamoDB",
AWSGateway: "AWS Gateway", AWSGateway: "AWS API Gateway",
APIGateway: "API Gateway",
}; };
export default msg; export default msg;

View File

@ -381,6 +381,7 @@ const msg = {
AWSCloudEKS: "EKS", AWSCloudEKS: "EKS",
AWSCloudS3: "S3", AWSCloudS3: "S3",
AWSCloudDynamoDB: "DynamoDB", AWSCloudDynamoDB: "DynamoDB",
AWSGateway: "AWS Gateway", AWSGateway: "AWS API Gateway",
APIGateway: "API Gateway",
}; };
export default msg; export default msg;

View File

@ -379,6 +379,7 @@ const msg = {
AWSCloudEKS: "EKS", AWSCloudEKS: "EKS",
AWSCloudS3: "S3", AWSCloudS3: "S3",
AWSCloudDynamoDB: "DynamoDB", AWSCloudDynamoDB: "DynamoDB",
AWSGateway: "AWS Gateway", AWSGateway: "AWS API Gateway",
APIGateway: "API Gateway",
}; };
export default msg; export default msg;

View File

@ -75,16 +75,16 @@ export default [
}, },
}, },
{ {
path: "/aws-gateway", path: "/aws-api-gateway",
name: "AWSGateway", name: "APIGateway",
meta: { meta: {
title: "AWSGateway", title: "APIGateway",
layer: "AWS_GATEWAY", layer: "AWS_GATEWAY",
}, },
}, },
{ {
path: "/aws-gateway/tab/:activeTabIndex", path: "/aws-api-gateway/tab/:activeTabIndex",
name: "GatewayActiveTabIndex", name: "APIGatewayActiveTabIndex",
meta: { meta: {
notShow: true, notShow: true,
layer: "AWS_GATEWAY", layer: "AWS_GATEWAY",

View File

@ -135,7 +135,7 @@ pre {
.el-sub-menu .el-menu-item { .el-sub-menu .el-menu-item {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
padding-left: 56px !important; padding: 0 0 0 56px !important;
} }
.el-sub-menu__title { .el-sub-menu__title {