This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 1768a16 feat: update menus for OpenFunction (#223)
1768a16 is described below
commit 1768a1641c066d9e90869a0c60f5a7330535a355
Author: Fine0830 <[email protected]>
AuthorDate: Mon Feb 6 14:36:13 2023 +0800
feat: update menus for OpenFunction (#223)
---
src/locales/lang/en.ts | 1 +
src/locales/lang/es.ts | 1 +
src/locales/lang/zh.ts | 1 +
src/router/data/functions.ts | 19 +++++++++++++------
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts
index 6e4a94d..ae262ac 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 d53eb5a..16ce8d4 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 e426c20..ab93799 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 4096104..37e8469 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",
+ },
},
],
},