Commit 365873ce authored by huanglu's avatar huanglu

Update debug.js

parent 2b2bbe2a
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment