<%= process.env.VUE_APP_ENV === 'production' ? '' : `
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.0/vconsole.min.js"></script>
<script>
var vConsole = new VConsole()
</script>
`%>
<%= process.env.VUE_APP_ENV === 'production' ? '' : `
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.0/vconsole.min.js"></script>
<script>
var vConsole = new VConsole()
</script>
`%>
本文标题:根据环境变量来控制vconsole显示隐藏
本文链接:https://www.haomeiwen.com/subject/dhtxnltx.html
网友评论