|
@@ -589,7 +589,7 @@ export default {
|
|
|
orderNo: orderNo,
|
|
orderNo: orderNo,
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
let data = res.data.data;
|
|
let data = res.data.data;
|
|
|
- if (data != "订单未支付") { // 当查询到支付成功时
|
|
|
|
|
|
|
+ if (data.trade_state === 'SUCCESS') { // 当查询到支付成功时
|
|
|
this.$store.dispatch('GetUserInfo');
|
|
this.$store.dispatch('GetUserInfo');
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'success',
|
|
type: 'success',
|