Commit b2a1088b by 前端

Merge branch 'xuyl_dev_v3.2.0' into 'v3.2.0'

修复bug

See merge request !77
2 parents b43d2ec5 2ce9ce8f
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
this.$message.error('积分核销失败') this.$message.error('积分核销失败')
} }
}).catch(err => { }).catch(err => {
this.$message.error('积分核销失败') this.$message.error(err)
}) })
this.dialogVisible = false this.dialogVisible = false
}, },
......
...@@ -29,15 +29,16 @@ export default { ...@@ -29,15 +29,16 @@ export default {
)) ))
} }
await withdrawalApi.batchWithdrawal(params).then(res => { await withdrawalApi.batchWithdrawal(params).then(res => {
if (res.code == '0'){ if (res.code !== '0'){
this.$message.success('审核成功')
this.dialogVisible = false
}else{
this.$message.error('审核失败') this.$message.error('审核失败')
}else{
this.$message.success('审核成功')
}
}).catch(err=>{
this.$message.error(err)
} }
}).catch(err =>{ )
this.$message.error('审核失败') this.dialogVisible = false
})
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!