Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
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
station
amos-convertor-view
Commits
ef006473
Commit
ef006473
authored
May 26, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改token提醒
parent
5dccb293
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
index.prod.js
src/entry/index.prod.js
+3
-7
No files found.
src/entry/index.prod.js
View file @
ef006473
...
...
@@ -44,17 +44,13 @@ class App extends Component {
componentWillMount
()
{
let
token
=
LocationParam
.
getLocationParamByName
(
'token'
);
if
(
!
token
)
{
AmosAlert
.
error
(
'警告'
,
'toke已失效!'
);
}
else
{
if
(
token
)
{
lsTool
.
write
(
SysConsts
.
token
,
token
);
lsTool
.
write
(
'token'
,
token
);
}
getSystemAllMenu
().
then
(
menus
=>
{
let
systemMuens
=
this
.
filterSystemMenus
(
menus
);
let
routeMenus
=
[];
...
...
@@ -71,7 +67,7 @@ class App extends Component {
}
);
// opMenusAction().then(
// menus => {
...
...
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