Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
6d7abf3b
Commit
6d7abf3b
authored
Sep 18, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
4ea4cf6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
6 deletions
+1
-6
config/webpack.config.js
+1
-2
src/router/route-middle-page.js
+0
-4
No files found.
config/webpack.config.js
View file @
6d7abf3b
...
...
@@ -209,8 +209,7 @@ module.exports = function(webpackEnv) {
// https://github.com/facebook/create-react-app/issues/5250
// Pending futher investigation:
// https://github.com/terser-js/terser/issues/120
inline
:
2
,
drop_debugger
:
false
inline
:
2
},
mangle
:
{
safari10
:
true
,
...
...
src/router/route-middle-page.js
View file @
6d7abf3b
...
...
@@ -11,10 +11,6 @@ function RouteMiddlePage(props) {
useEffect
(()
=>
{
let
{
user
,
location
,
history
}
=
props
/*if (history.action === 'POP' && history.length > 2) {
history.goBack();
return
}*/
if
(
!
user
.
isFetching
)
{
if
(
user
.
hasError
)
{
...
...
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