Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
df1f67e3
Commit
df1f67e3
authored
Mar 25, 2019
by
xiaohuoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exception
parent
87fb3c68
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
Exception403/src/index.tsx
Exception403/src/index.tsx
+3
-2
Exception403/src/locales/en-US.ts
Exception403/src/locales/en-US.ts
+1
-1
Exception403/src/locales/pt-BR.ts
Exception403/src/locales/pt-BR.ts
+1
-1
Exception403/src/locales/zh-CN.ts
Exception403/src/locales/zh-CN.ts
+1
-1
Exception403/src/locales/zh-TW.ts
Exception403/src/locales/zh-TW.ts
+1
-1
No files found.
Exception403/src/index.tsx
View file @
df1f67e3
import
Exception
from
'
./components/Exception
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
formatMessage
}
from
'
umi-plugin-react/locale
'
;
import
{
formatMessage
}
from
'
umi-plugin-react/locale
'
;
import
Link
from
'
umi/link
'
;
import
Link
from
'
umi/link
'
;
import
Exception
from
'
./components/Exception
'
;
const
PAGE_NAME_UPPER_CAMEL_CASE
:
React
.
FC
=
()
=>
(
const
PAGE_NAME_UPPER_CAMEL_CASE
:
React
.
FC
=
()
=>
(
<
Exception
<
Exception
type
=
"403"
type
=
"403"
desc
=
{
formatMessage
({
id
:
'
BLOCK_NAME.description.403
'
})
}
desc
=
{
formatMessage
({
id
:
'
BLOCK_NAME.description.403
'
})
}
linkElement
=
{
Link
}
linkElement
=
{
Link
}
backText
=
{
formatMessage
({
id
:
'
BLOCK_NAME.
descri
ption.back
'
})
}
backText
=
{
formatMessage
({
id
:
'
BLOCK_NAME.
exce
ption.back
'
})
}
/>
/>
);
);
...
...
Exception403/src/locales/en-US.ts
View file @
df1f67e3
export
default
{
export
default
{
'
BLOCK_NAME.
descri
ption.back
'
:
'
Back to home
'
,
'
BLOCK_NAME.
exce
ption.back
'
:
'
Back to home
'
,
'
BLOCK_NAME.description.403
'
:
"
Sorry, you don't have access to this page
"
,
'
BLOCK_NAME.description.403
'
:
"
Sorry, you don't have access to this page
"
,
};
};
Exception403/src/locales/pt-BR.ts
View file @
df1f67e3
export
default
{
export
default
{
'
BLOCK_NAME.
descri
ption.back
'
:
'
Voltar para Início
'
,
'
BLOCK_NAME.
exce
ption.back
'
:
'
Voltar para Início
'
,
'
BLOCK_NAME.description.403
'
:
'
Desculpe, você não tem acesso a esta página
'
,
'
BLOCK_NAME.description.403
'
:
'
Desculpe, você não tem acesso a esta página
'
,
};
};
Exception403/src/locales/zh-CN.ts
View file @
df1f67e3
export
default
{
export
default
{
'
BLOCK_NAME.
descri
ption.back
'
:
'
返回首页
'
,
'
BLOCK_NAME.
exce
ption.back
'
:
'
返回首页
'
,
'
BLOCK_NAME.description.403
'
:
'
抱歉,你无权访问该页面
'
,
'
BLOCK_NAME.description.403
'
:
'
抱歉,你无权访问该页面
'
,
};
};
Exception403/src/locales/zh-TW.ts
View file @
df1f67e3
export
default
{
export
default
{
'
BLOCK_NAME.
descri
ption.back
'
:
'
返回首頁
'
,
'
BLOCK_NAME.
exce
ption.back
'
:
'
返回首頁
'
,
'
BLOCK_NAME.description.403
'
:
'
抱歉,妳無權訪問該頁面
'
,
'
BLOCK_NAME.description.403
'
:
'
抱歉,妳無權訪問該頁面
'
,
};
};
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