add sub menu for PostgreSQL layer (#140)

This commit is contained in:
Fine0830 2022-08-22 21:48:02 +08:00 committed by GitHub
parent adb457d660
commit 2fd5fb9b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 0 deletions

View File

@ -52,4 +52,6 @@ export const RoutesMap: { [key: string]: string } = {
KubernetesServiceActiveTabIndex: "K8S_SERVICE",
MySQL: "MYSQL",
MySQLActiveTabIndex: "MYSQL",
PostgreSQL: "PostgreSQL",
PostgreSQLActiveTabIndex: "PostgreSQL",
};

View File

@ -150,6 +150,7 @@ const msg = {
duplicateName: "Duplicate name",
enableAssociate: "Enable association",
text: "Text",
postgreSQL: "PostgreSQL",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",

View File

@ -150,6 +150,7 @@ const msg = {
nameTip:
"El nombre sólo admite chino e inglés, líneas horizontales y subrayado, y la longitud del nombre no excederá de 300 caracteres",
enableAssociate: "Activar asociación",
postgreSQL: "PostgreSQL",
seconds: "Segundos",
hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto",

View File

@ -147,6 +147,7 @@ const msg = {
nameTip: "该名称仅支持中文和英文、横线和下划线, 并且限制长度为300个字符",
duplicateName: "重复的名称",
text: "文本",
postgreSQL: "PostgreSQL",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",

View File

@ -48,6 +48,25 @@ export const routesDatabase: Array<RouteRecordRaw> = [
component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
},
{
path: "/postgreSQL",
name: "PostgreSQL",
meta: {
title: "postgreSQL",
exact: true,
},
component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
},
{
path: "/postgreSQL/tab/:activeTabIndex",
name: "PostgreSQLActiveTabIndex",
meta: {
notShow: true,
},
component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
},
],
},
];