Browse Source

fix: 将环境配置更改为生产环境并修复提现错误提示

修改config.js中的环境变量从'dev'到'prod'以切换到生产环境
在withdraw.vue中更新提现失败时的错误提示,使用后端返回的message
master
前端-胡立永 3 days ago
parent
commit
c118865ba5
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      config.js
  2. +6
    -6
      pages_order/mine/withdraw.vue

+ 1
- 1
config.js View File

@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI); Vue.use(uvUI);
// 当前环境 // 当前环境
const type = 'dev'
const type = 'prod'
// 环境配置 // 环境配置


+ 6
- 6
pages_order/mine/withdraw.vue View File

@ -203,12 +203,12 @@
this.form.money = '' this.form.money = ''
this.form.name = '' this.form.name = ''
} }
}else {
uni.showToast({
title: '提现只能是整数必须大于1!',
icon: 'none'
})
}
}else{
uni.showToast({
title: res.message,
icon: 'none'
})
}
}) })
}, },


Loading…
Cancel
Save