Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
ab0d0b6d
Unverified
Commit
ab0d0b6d
authored
Nov 23, 2022
by
zhu-mingye
Committed by
GitHub
Nov 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix-1287][web] fix click guide "Config System Config" is 404 (#1305)
* fix check i18n may be null error to use umi_language * fix #1287
parent
129a3516
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
3 deletions
+45
-3
index.tsx
...c/components/Studio/StudioRightTool/StudioGuide/index.tsx
+31
-1
pages.ts
dlink-web/src/locales/en-US/pages.ts
+7
-1
pages.ts
dlink-web/src/locales/zh-CN/pages.ts
+7
-1
No files found.
dlink-web/src/components/Studio/StudioRightTool/StudioGuide/index.tsx
View file @
ab0d0b6d
...
@@ -57,6 +57,26 @@ const StudioGuide = (props: any) => {
...
@@ -57,6 +57,26 @@ const StudioGuide = (props: any) => {
history
.
push
(
'/registration/database'
)
history
.
push
(
'/registration/database'
)
}
}
>
{
l
(
'pages.datastudio.label.registdatasource'
)
}
</
Link
>
}
}
>
{
l
(
'pages.datastudio.label.registdatasource'
)
}
</
Link
>
</
li
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/datacenter/metadata'
)
}
}
>
{
l
(
'pages.datastudio.label.metadata'
)
}
</
Link
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/registration/alert/alertInstance'
)
}
}
>
{
l
(
'pages.datastudio.label.alarmInstance'
)
}
</
Link
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/registration/alert/alertGroup'
)
}
}
>
{
l
(
'pages.datastudio.label.alarmGroup'
)
}
</
Link
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/registration/fragment'
)
}
}
>
{
l
(
'pages.datastudio.label.val'
)
}
</
Link
>
</
li
>
<
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/registration/document'
)
history
.
push
(
'/registration/document'
)
...
@@ -64,9 +84,19 @@ const StudioGuide = (props: any) => {
...
@@ -64,9 +84,19 @@ const StudioGuide = (props: any) => {
</
li
>
</
li
>
<
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/settings'
)
history
.
push
(
'/setting
Center/flinkSetting
s'
)
}
}
>
{
l
(
'pages.datastudio.label.configsystemconfig'
)
}
</
Link
>
}
}
>
{
l
(
'pages.datastudio.label.configsystemconfig'
)
}
</
Link
>
</
li
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/settingCenter/udfTemplate'
)
}
}
>
{
l
(
'pages.datastudio.label.udfTemplate'
)
}
</
Link
>
</
li
>
<
li
>
<
Link
onClick=
{
()
=>
{
history
.
push
(
'/settingCenter/systemInfo'
)
}
}
>
{
l
(
'pages.datastudio.label.systemInfo'
)
}
</
Link
>
</
li
>
<
li
>
<
li
>
<
Link
href=
"http://www.dlink.top/"
<
Link
href=
"http://www.dlink.top/"
target=
"_blank"
>
{
l
(
'pages.datastudio.label.officialdocumentation'
)
}
</
Link
>
target=
"_blank"
>
{
l
(
'pages.datastudio.label.officialdocumentation'
)
}
</
Link
>
...
...
dlink-web/src/locales/en-US/pages.ts
View file @
ab0d0b6d
...
@@ -234,10 +234,16 @@ export default {
...
@@ -234,10 +234,16 @@ export default {
'pages.datastudio.label.globalvariable'
:
'Global Variable'
,
'pages.datastudio.label.globalvariable'
:
'Global Variable'
,
'pages.datastudio.label.guidepage'
:
'Guide Page'
,
'pages.datastudio.label.guidepage'
:
'Guide Page'
,
'pages.datastudio.label.registcluster'
:
'Regist Cluster'
,
'pages.datastudio.label.registcluster'
:
'Regist
Flink
Cluster'
,
'pages.datastudio.label.registclusterconfig'
:
'Regist Cluster Config'
,
'pages.datastudio.label.registclusterconfig'
:
'Regist Cluster Config'
,
'pages.datastudio.label.registjar'
:
'Regist Jar'
,
'pages.datastudio.label.registjar'
:
'Regist Jar'
,
'pages.datastudio.label.registdatasource'
:
'Regist Datasource'
,
'pages.datastudio.label.registdatasource'
:
'Regist Datasource'
,
'pages.datastudio.label.metadata'
:
'Metadata'
,
'pages.datastudio.label.alarmInstance'
:
'Registration Alarm Instance'
,
'pages.datastudio.label.alarmGroup'
:
'Alarm Group'
,
'pages.datastudio.label.val'
:
'Register Global Variables'
,
'pages.datastudio.label.udfTemplate'
:
'UDF Template'
,
'pages.datastudio.label.systemInfo'
:
'System Information'
,
'pages.datastudio.label.registdocument'
:
'Regist Document'
,
'pages.datastudio.label.registdocument'
:
'Regist Document'
,
'pages.datastudio.label.configsystemconfig'
:
'Config System Config'
,
'pages.datastudio.label.configsystemconfig'
:
'Config System Config'
,
'pages.datastudio.label.officialdocumentation'
:
'Official Documentation'
,
'pages.datastudio.label.officialdocumentation'
:
'Official Documentation'
,
...
...
dlink-web/src/locales/zh-CN/pages.ts
View file @
ab0d0b6d
...
@@ -236,10 +236,16 @@ export default {
...
@@ -236,10 +236,16 @@ export default {
'pages.datastudio.label.globalvariable'
:
'全局变量'
,
'pages.datastudio.label.globalvariable'
:
'全局变量'
,
'pages.datastudio.label.guidepage'
:
'引导页'
,
'pages.datastudio.label.guidepage'
:
'引导页'
,
'pages.datastudio.label.registcluster'
:
'注册集群实例'
,
'pages.datastudio.label.registcluster'
:
'注册
Flink
集群实例'
,
'pages.datastudio.label.registclusterconfig'
:
'注册集群配置'
,
'pages.datastudio.label.registclusterconfig'
:
'注册集群配置'
,
'pages.datastudio.label.registjar'
:
'注册 Jar'
,
'pages.datastudio.label.registjar'
:
'注册 Jar'
,
'pages.datastudio.label.registdatasource'
:
'注册数据源'
,
'pages.datastudio.label.registdatasource'
:
'注册数据源'
,
'pages.datastudio.label.metadata'
:
'元数据'
,
'pages.datastudio.label.alarmInstance'
:
'注册告警实例'
,
'pages.datastudio.label.alarmGroup'
:
'告警组'
,
'pages.datastudio.label.val'
:
'注册全局变量'
,
'pages.datastudio.label.udfTemplate'
:
'UDF 模板'
,
'pages.datastudio.label.systemInfo'
:
'系统信息'
,
'pages.datastudio.label.registdocument'
:
'注册文档'
,
'pages.datastudio.label.registdocument'
:
'注册文档'
,
'pages.datastudio.label.configsystemconfig'
:
'修改系统配置'
,
'pages.datastudio.label.configsystemconfig'
:
'修改系统配置'
,
'pages.datastudio.label.officialdocumentation'
:
'官网文档'
,
'pages.datastudio.label.officialdocumentation'
:
'官网文档'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment