提交 b4961f95 编写于 作者: 史文彬's avatar 史文彬

feat: env

上级 4f2bb957
...@@ -4,7 +4,7 @@ NODE_ENV=production ...@@ -4,7 +4,7 @@ NODE_ENV=production
VUE_APP_ENV ='production' VUE_APP_ENV ='production'
# 微信小程序的环境变量 # 微信小程序的环境变量
MINI_PROGRAM_ENV ='trial' MINI_PROGRAM_ENV='trial'
VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com
# 阿里云OSS对象存储地址 # 阿里云OSS对象存储地址
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
<script> <script>
import { formatDate } from '@/utils/common'; import { formatDate } from '@/utils/common';
import { getEntitlementList, getBanner } from '@/api/entitlement'; import { getEntitlementList, getBanner } from '@/api/entitlement';
console.log('env change', process.env.MINI_PROGRAM_ENV);
export default { export default {
data() { data() {
return { return {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册