Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
teaching_admin
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
huanglu
teaching_admin
Commits
b8b10ddd
Commit
b8b10ddd
authored
Sep 09, 2020
by
bobo826
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of dev.jiuaoedu.com:huanglu/teaching_admin
parents
150ec8e8
365873ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
debug.js
src/utils/debug.js
+2
-1
No files found.
src/utils/debug.js
View file @
b8b10ddd
...
@@ -2,7 +2,7 @@ import { MessageBox } from 'element-ui'
...
@@ -2,7 +2,7 @@ import { MessageBox } from 'element-ui'
const
buildInfo
=
process
.
env
.
VUE_APP_BUILD_INFO
&&
JSON
.
parse
(
process
.
env
.
VUE_APP_BUILD_INFO
)
const
buildInfo
=
process
.
env
.
VUE_APP_BUILD_INFO
&&
JSON
.
parse
(
process
.
env
.
VUE_APP_BUILD_INFO
)
if
(
buildInfo
&&
buildInfo
.
isAlert
)
{
if
(
buildInfo
&&
buildInfo
.
isAlert
===
'true'
)
{
const
info
=
JSON
.
stringify
(
buildInfo
)
const
info
=
JSON
.
stringify
(
buildInfo
)
MessageBox
.
alert
(
info
,
'构建信息'
)
MessageBox
.
alert
(
info
,
'构建信息'
)
}
}
\ No newline at end of file
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