This repository was archived by the owner on Mar 23, 2018. It is now read-only.
File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 23
23
git commit -m " $MESSAGE "
24
24
git push --force --quiet
[email protected] :Raiyee/EasyHi.git gh-pages:gh-pages
25
25
git push --force --quiet
[email protected] :Raiyee/EasyHi.git gh-pages:coding-pages
26
-
27
- npm i -D coveralls codecov
28
- npm run coveralls && npm run codecov
29
26
else
30
27
echo " there is nothing changed and to commit"
31
28
fi
Original file line number Diff line number Diff line change 1
- import { getters } from 'store'
2
-
3
- // import utils from 'utils'
1
+ import utils from 'utils'
4
2
5
3
export default [ {
6
4
path : '/' ,
7
5
name : 'home' ,
8
6
component : ( ) => import ( 'views/Home' ) ,
9
- beforeEnter ( to , from , next ) {
10
- __DEV__ ? next ( ) : ( location . href = getters . memberUrlPrefix )
11
- } ,
12
7
meta : {
13
8
menuShow : false
14
9
}
@@ -32,7 +27,7 @@ export default [{
32
27
name : '404' ,
33
28
component : ( ) => import ( 'components/HiWidgets/NotFound' ) ,
34
29
beforeEnter ( ) {
35
- location . href = getters . urlPrefix + getters . currRole + '/index'
36
- // utils.router.history.updateRoute(utils.NOT_FOUND_ROUTE)
30
+ // location.href = getters.urlPrefix + getters.currRole + '/index'
31
+ utils . router . history . updateRoute ( utils . NOT_FOUND_ROUTE )
37
32
}
38
33
} ]
You can’t perform that action at this time.
0 commit comments