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", KubernetesServiceActiveTabIndex: "K8S_SERVICE",
MySQL: "MYSQL", MySQL: "MYSQL",
MySQLActiveTabIndex: "MYSQL", MySQLActiveTabIndex: "MYSQL",
PostgreSQL: "PostgreSQL",
PostgreSQLActiveTabIndex: "PostgreSQL",
}; };

View File

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

View File

@ -150,6 +150,7 @@ const msg = {
nameTip: 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", "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", enableAssociate: "Activar asociación",
postgreSQL: "PostgreSQL",
seconds: "Segundos", seconds: "Segundos",
hourTip: "Seleccione Hora", hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto", minuteTip: "Seleccione Minuto",

View File

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

View File

@ -48,6 +48,25 @@ export const routesDatabase: Array<RouteRecordRaw> = [
component: () => component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"), 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"),
},
], ],
}, },
]; ];