Browse Source

更新

master
j1ack 2 years ago
parent
commit
67257d0fc8
  1. BIN
      bitcopay后台-开发环境.zip
  2. 10
      src/views/otc/otcStoreRechargeOrder/index.vue
  3. 4
      vue.config.js

BIN
bitcopay后台-开发环境.zip

Binary file not shown.

10
src/views/otc/otcStoreRechargeOrder/index.vue

@ -296,8 +296,16 @@ export default {
if (valid) {
if (t == 'test') {
payRecordRecharge.recharge(this.form).then((response) => {
this.openTest = false;
this.msgSuccess("操作成功");
this.$confirm('去支付?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(({ value }) => {
window.open(response.data.payUrl);
}).catch(() => {
});
this.openTest = false;
this.getList();
}).catch(() => {
})

4
vue.config.js

@ -35,11 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
<<<<<<< HEAD
target: `http://bitcopay-admin.weirui0755.com/stage-api`,
=======
target: `http://localhost:5500`,
>>>>>>> 8c89d7617c21beef7f943a9673ba2bbd3d1cf7a9
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save