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
76b340c6
Commit
76b340c6
authored
May 22, 2019
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ts error
parent
1cd99a86
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
30 deletions
+20
-30
AccountCenter/src/data.d.ts
AccountCenter/src/data.d.ts
+9
-9
AccountSettings/src/data.d.ts
AccountSettings/src/data.d.ts
+10
-18
Exception403/src/index.tsx
Exception403/src/index.tsx
+1
-3
No files found.
AccountCenter/src/data.d.ts
View file @
76b340c6
export
interface
it
ag
{
export
interface
IT
ag
{
key
:
string
;
key
:
string
;
label
:
string
;
label
:
string
;
}
}
export
interface
p
rovince
{
export
interface
IP
rovince
{
label
:
string
;
label
:
string
;
key
:
string
;
key
:
string
;
}
}
export
interface
c
ity
{
export
interface
IC
ity
{
label
:
string
;
label
:
string
;
key
:
string
;
key
:
string
;
}
}
export
interface
g
eographic
{
export
interface
IG
eographic
{
province
:
Province
;
province
:
I
Province
;
city
:
City
;
city
:
I
City
;
}
}
export
interface
n
otice
{
export
interface
IN
otice
{
id
:
string
;
id
:
string
;
title
:
string
;
title
:
string
;
logo
:
string
;
logo
:
string
;
...
@@ -33,7 +33,7 @@ export interface currentuser {
...
@@ -33,7 +33,7 @@ export interface currentuser {
name
:
string
;
name
:
string
;
avatar
:
string
;
avatar
:
string
;
userid
:
string
;
userid
:
string
;
notice
:
Notice
[];
notice
:
I
Notice
[];
email
:
string
;
email
:
string
;
signature
:
string
;
signature
:
string
;
title
:
string
;
title
:
string
;
...
@@ -42,7 +42,7 @@ export interface currentuser {
...
@@ -42,7 +42,7 @@ export interface currentuser {
notifyCount
:
number
;
notifyCount
:
number
;
unreadCount
:
number
;
unreadCount
:
number
;
country
:
string
;
country
:
string
;
geographic
:
Geographic
;
geographic
:
I
Geographic
;
address
:
string
;
address
:
string
;
phone
:
string
;
phone
:
string
;
}
}
AccountSettings/src/data.d.ts
View file @
76b340c6
export
interface
it
ag
{
export
interface
IT
ag
{
key
:
string
;
key
:
string
;
label
:
string
;
label
:
string
;
}
}
export
interface
p
rovince
{
export
interface
IP
rovince
{
label
:
string
;
label
:
string
;
key
:
string
;
key
:
string
;
}
}
export
interface
c
ity
{
export
interface
IC
ity
{
label
:
string
;
label
:
string
;
key
:
string
;
key
:
string
;
}
}
export
interface
g
eographic
{
export
interface
IG
eographic
{
province
:
Province
;
province
:
I
Province
;
city
:
City
;
city
:
I
City
;
}
}
export
interface
provincedata
{
name
:
string
;
export
interface
INotice
{
id
:
string
;
}
export
interface
citydata
{
province
:
string
;
name
:
string
;
id
:
string
;
}
export
interface
notice
{
id
:
string
;
id
:
string
;
title
:
string
;
title
:
string
;
logo
:
string
;
logo
:
string
;
...
@@ -41,7 +33,7 @@ export interface currentuser {
...
@@ -41,7 +33,7 @@ export interface currentuser {
name
:
string
;
name
:
string
;
avatar
:
string
;
avatar
:
string
;
userid
:
string
;
userid
:
string
;
notice
:
Notice
[];
notice
:
I
Notice
[];
email
:
string
;
email
:
string
;
signature
:
string
;
signature
:
string
;
title
:
string
;
title
:
string
;
...
@@ -50,7 +42,7 @@ export interface currentuser {
...
@@ -50,7 +42,7 @@ export interface currentuser {
notifyCount
:
number
;
notifyCount
:
number
;
unreadCount
:
number
;
unreadCount
:
number
;
country
:
string
;
country
:
string
;
geographic
:
Geographic
;
geographic
:
I
Geographic
;
address
:
string
;
address
:
string
;
phone
:
string
;
phone
:
string
;
}
}
Exception403/src/index.tsx
View file @
76b340c6
...
@@ -3,7 +3,7 @@ import { formatMessage } from 'umi-plugin-react/locale';
...
@@ -3,7 +3,7 @@ import { formatMessage } from 'umi-plugin-react/locale';
import
Link
from
'
umi/link
'
;
import
Link
from
'
umi/link
'
;
import
Exception
from
'
./components/Exception
'
;
import
Exception
from
'
./components/Exception
'
;
const
PAGE_NAME_UPPER_CAMEL_CASE
:
React
.
SFC
=
()
=>
(
export
default
()
=>
(
<
Exception
<
Exception
type
=
"403"
type
=
"403"
desc
=
{
formatMessage
({
id
:
'
BLOCK_NAME.description.403
'
})
}
desc
=
{
formatMessage
({
id
:
'
BLOCK_NAME.description.403
'
})
}
...
@@ -11,5 +11,3 @@ const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => (
...
@@ -11,5 +11,3 @@ const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => (
backText
=
{
formatMessage
({
id
:
'
BLOCK_NAME.exception.back
'
})
}
backText
=
{
formatMessage
({
id
:
'
BLOCK_NAME.exception.back
'
})
}
/>
/>
);
);
export
default
PAGE_NAME_UPPER_CAMEL_CASE
;
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