diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 6e4a94d6..ae262ac7 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -183,6 +183,7 @@ const msg = { iframeSrc: "Iframe Link", generateLink: "Generate Link", setDuration: "Set Duration", + openFunction: "OpenFunction", seconds: "Seconds", hourTip: "Select Hour", minuteTip: "Select Minute", diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts index d53eb5a2..16ce8d41 100644 --- a/src/locales/lang/es.ts +++ b/src/locales/lang/es.ts @@ -166,6 +166,7 @@ const msg = { iframeSrc: "Enlace Iframe", generateLink: "Generar enlaces", setDuration: "Establecer la duración", + openFunction: "OpenFunction", seconds: "Segundos", hourTip: "Seleccione Hora", minuteTip: "Seleccione Minuto", diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index e426c209..ab93799a 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -180,6 +180,7 @@ const msg = { iframeSrc: "Iframe链接", generateLink: "生成链接", setDuration: "设置时间区间", + openFunction: "OpenFunction", seconds: "秒", hourTip: "选择小时", minuteTip: "选择分钟", diff --git a/src/router/data/functions.ts b/src/router/data/functions.ts index 40961041..37e8469e 100644 --- a/src/router/data/functions.ts +++ b/src/router/data/functions.ts @@ -22,17 +22,24 @@ export default [ meta: { title: "functions", icon: "functions", - layer: "FAAS", + hasGroup: true, }, - redirect: "/functions", children: [ { - path: "/functions", - name: "Functions", + path: "/openFunction", + name: "OpenFunction", + meta: { + title: "openFunction", + layer: "FAAS", + }, }, { - path: "/functions/tab/:activeTabIndex", - name: "FunctionsActiveTabIndex", + path: "/openFunction/tab/:activeTabIndex", + name: "OpenFunctionActiveTabIndex", + meta: { + notShow: true, + layer: "FAAS", + }, }, ], },