Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
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
华国豪
Athena
Commits
56758cd1
Commit
56758cd1
authored
Jun 13, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6308b388
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
main.js
src/main.js
+6
-3
No files found.
src/main.js
View file @
56758cd1
...
@@ -34,9 +34,12 @@ Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils
...
@@ -34,9 +34,12 @@ Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils
Vue
.
languageUtils
=
Vue
.
prototype
.
$languageUtils
=
languageUtils
Vue
.
languageUtils
=
Vue
.
prototype
.
$languageUtils
=
languageUtils
Vue
.
prototype
.
MsgBus
=
MsgBus
Vue
.
prototype
.
MsgBus
=
MsgBus
Vue
.
prototype
.
$echarts
=
echarts
Vue
.
prototype
.
$echarts
=
echarts
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// console.log("from",from.path)
let
msg
=
{
sessionStorage
.
setItem
(
"FromPath"
,
from
.
path
);
path
:
from
.
path
,
query
:
from
.
query
}
sessionStorage
.
setItem
(
"FromPath"
,
JSON
.
stringify
(
msg
));
if
(
to
.
meta
.
title
)
{
if
(
to
.
meta
.
title
)
{
if
(
localStorage
.
g
&&
localStorage
.
g
!=
'undefined'
){
if
(
localStorage
.
g
&&
localStorage
.
g
!=
'undefined'
){
if
(
JSON
.
parse
(
localStorage
.
g
).
i
!=
2
)
if
(
JSON
.
parse
(
localStorage
.
g
).
i
!=
2
)
...
...
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