no message
Former-commit-id: 4fc9727ef5f915e04a11715584c727f5fee6172c Former-commit-id: 43c98fa8c29c8b3c5a1e47e35dae3b436a8dc1e4 Former-commit-id: 0d53dcd51b5fd664ed1a67bd5811065be417951a
This commit is contained in:
@@ -48,6 +48,8 @@ Vue.use(pluginExport)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
Vue.prototype.$env = process.env.NODE_ENV === 'development'
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
<template>
|
||||
<Container type="card-full">
|
||||
<template slot="header">
|
||||
多环境发布 测试
|
||||
多环境发布
|
||||
</template>
|
||||
<el-row>
|
||||
<el-col :span="8">8</el-col>
|
||||
<el-col :span="8">8</el-col>
|
||||
<el-col :span="8">8</el-col>
|
||||
</el-row>
|
||||
<p>当前是{{$env ? '开发' : '生产'}}环境</p>
|
||||
</Container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user