Commit 42c4e727 authored by dragondean@qq.com's avatar dragondean@qq.com

修复测试版字样不显示

parent 5e83d1bf
......@@ -19,3 +19,6 @@ VUE_APP_DOC_ENABLE = true
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
#测试站编辑
VUE_APP_DEVELOPMENT=true
\ No newline at end of file
......@@ -18,3 +18,6 @@ VUE_APP_DOC_ENABLE = true
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
#测试站编辑
VUE_APP_DEVELOPMENT=true
\ No newline at end of file
......@@ -40,7 +40,7 @@ export default {
}
},
created(){
if (process.env.NODE_ENV === 'development'){
if (process.env.VUE_APP_DEVELOPMENT){
this.isDevelopment = true
}
},
......
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