Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
7e0b2ffb
提交
7e0b2ffb
编写于
7月 27, 2023
作者:
史文彬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 新增环境变量名
上级
1d42f5e0
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
12 行增加
和
6 行删除
+12
-6
.env.dev
.env.dev
+3
-0
.env.production
.env.production
+3
-0
.env.testing
.env.testing
+4
-1
list.vue
src/views/entitlement/list.vue
+1
-3
index.vue
src/views/sz-public-new/index.vue
+1
-2
未找到文件。
.env.dev
浏览文件 @
7e0b2ffb
...
@@ -2,6 +2,9 @@ NODE_ENV=production
...
@@ -2,6 +2,9 @@ NODE_ENV=production
# 自定义 VUE_APP_ENV
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='dev'
VUE_APP_ENV ='dev'
# 微信小程序的环境变量
MINI_PROGRAM_ENV = 'trial'
VUE_APP_SERVICE_URL=https://dev-sc.yunqueyi.com
VUE_APP_SERVICE_URL=https://dev-sc.yunqueyi.com
# 阿里云OSS对象存储地址
# 阿里云OSS对象存储地址
...
...
.env.production
浏览文件 @
7e0b2ffb
...
@@ -3,6 +3,9 @@ NODE_ENV=production
...
@@ -3,6 +3,9 @@ NODE_ENV=production
# 自定义 VUE_APP_ENV
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='production'
VUE_APP_ENV ='production'
# 微信小程序的环境变量
MINI_PROGRAM_ENV = 'release'
VUE_APP_SERVICE_URL=https://sc.yunqueyi.com
VUE_APP_SERVICE_URL=https://sc.yunqueyi.com
# 阿里云OSS对象存储地址
# 阿里云OSS对象存储地址
...
...
.env.testing
浏览文件 @
7e0b2ffb
NODE_ENV=production
NODE_ENV=production
# 自定义 VUE_APP_ENV
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='testing'
VUE_APP_ENV ='production'
# 微信小程序的环境变量
MINI_PROGRAM_ENV = 'trial'
VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com
VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com
# 阿里云OSS对象存储地址
# 阿里云OSS对象存储地址
...
...
src/views/entitlement/list.vue
浏览文件 @
7e0b2ffb
...
@@ -116,7 +116,6 @@
...
@@ -116,7 +116,6 @@
<
script
>
<
script
>
import
{
formatDate
}
from
'@/utils/common'
;
import
{
formatDate
}
from
'@/utils/common'
;
const
{
VUE_APP_ENV
}
=
process
.
env
;
import
{
getEntitlementList
,
getBanner
}
from
'@/api/entitlement'
;
import
{
getEntitlementList
,
getBanner
}
from
'@/api/entitlement'
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -125,8 +124,7 @@ export default {
...
@@ -125,8 +124,7 @@ export default {
entitlementList
:
[],
entitlementList
:
[],
emptyIconPath
:
emptyIconPath
:
'https://files.yunqueyi.com/image/png/common/20230602155400880.png'
,
'https://files.yunqueyi.com/image/png/common/20230602155400880.png'
,
envVersion
:
VUE_APP_ENV
==
'production'
?
'release'
:
'trial'
,
envVersion
:
process
.
env
.
MINI_PROGRAM_ENV
,
// envVersion: 'trial',
openWebAppConfig
:
{
openWebAppConfig
:
{
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
...
...
src/views/sz-public-new/index.vue
浏览文件 @
7e0b2ffb
...
@@ -204,7 +204,6 @@
...
@@ -204,7 +204,6 @@
import
{
createOrderSzV2
}
from
'@/api/question'
;
import
{
createOrderSzV2
}
from
'@/api/question'
;
import
{
getBanner
,
getCardTypes
}
from
'@/api/entitlement'
;
import
{
getBanner
,
getCardTypes
}
from
'@/api/entitlement'
;
import
DatePicker
from
'./date-picker.vue'
;
import
DatePicker
from
'./date-picker.vue'
;
const
{
VUE_APP_ENV
}
=
process
.
env
;
let
that
;
let
that
;
export
default
{
export
default
{
components
:
{
DatePicker
},
components
:
{
DatePicker
},
...
@@ -231,7 +230,7 @@ export default {
...
@@ -231,7 +230,7 @@ export default {
showProtocol
:
false
,
showProtocol
:
false
,
showCardTypeVisible
:
false
,
showCardTypeVisible
:
false
,
cardTypes
:
[],
cardTypes
:
[],
envVersion
:
VUE_APP_ENV
==
'production'
?
'release'
:
'trial'
,
envVersion
:
process
.
env
.
MINI_PROGRAM_ENV
,
// envVersion: 'trial',
// envVersion: 'trial',
openWebAppConfigPositive
:
{
openWebAppConfigPositive
:
{
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录