Browse Source

fix: 将环境变量从develop改为trial并限制服务数量最大值为3

- 修改getUrl.js中的current变量值以匹配当前测试环境需求
- 调整serviceNew2.vue中customServiceCount组件的max属性,将最大值从10改为3以符合业务规则
master
前端-胡立永 3 days ago
parent
commit
fb241d646f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      pages/newOrder/serviceNew2.vue
  2. +1
    -1
      utils/getUrl.js

+ 1
- 1
pages/newOrder/serviceNew2.vue View File

@ -186,7 +186,7 @@
@change="customServiceCountChange" @change="customServiceCountChange"
step="1" step="1"
:min="0" :min="0"
:max="10"
:max="3"
> >
<view slot="minus" class="minus"> <view slot="minus" class="minus">
<u-icon name="minus-circle-fill" size="20" color="#FFBF60"></u-icon> <u-icon name="minus-circle-fill" size="20" color="#FFBF60"></u-icon>


+ 1
- 1
utils/getUrl.js View File

@ -1,4 +1,4 @@
let current ="develop";
let current ="trial";
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
// current = accountInfo.miniProgram.envVersion; // current = accountInfo.miniProgram.envVersion;


Loading…
Cancel
Save