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
a5d19797
Commit
a5d19797
authored
Dec 25, 2018
by
Shuai Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete redundant targets
parent
d5d096eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
config/config.js
config/config.js
+4
-7
src/components/Login/LoginTab.d.ts
src/components/Login/LoginTab.d.ts
+7
-0
No files found.
config/config.js
View file @
a5d19797
...
@@ -13,9 +13,6 @@ const plugins = [
...
@@ -13,9 +13,6 @@ const plugins = [
dva
:
{
dva
:
{
hmr
:
true
,
hmr
:
true
,
},
},
targets
:
{
ie
:
11
,
},
locale
:
{
locale
:
{
enable
:
true
,
// default false
enable
:
true
,
// default false
default
:
'
zh-CN
'
,
// default zh-CN
default
:
'
zh-CN
'
,
// default zh-CN
...
@@ -57,12 +54,12 @@ if (process.env.APP_TYPE === 'site') {
...
@@ -57,12 +54,12 @@ if (process.env.APP_TYPE === 'site') {
export
default
{
export
default
{
// add for transfer to umi
// add for transfer to umi
plugins
,
plugins
,
targets
:
{
ie
:
11
,
},
define
:
{
define
:
{
APP_TYPE
:
process
.
env
.
APP_TYPE
||
''
,
APP_TYPE
:
process
.
env
.
APP_TYPE
||
''
,
},
},
targets
:
{
ie
:
11
,
},
// 路由配置
// 路由配置
routes
:
pageRoutes
,
routes
:
pageRoutes
,
// Theme for antd
// Theme for antd
...
...
src/components/Login/LoginTab.d.ts
0 → 100644
View file @
a5d19797
import
*
as
React
from
'
react
'
;
export
interface
ILoginTabProps
{
key
?:
string
;
tab
?:
React
.
ReactNode
;
}
export
default
class
LoginTab
extends
React
.
Component
<
ILoginTabProps
,
any
>
{}
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