修复:配送商 - 缴费记录中支付成功后跳转页面错误
This commit is contained in:
parent
316d9a7383
commit
93d8f9e708
|
|
@ -57,7 +57,7 @@
|
|||
@onChangeFun='onChangeFun'
|
||||
:order_id="pay_order_id"
|
||||
:totalPrice='totalPrice'
|
||||
:returnUrl="'/pages/agent/invite/record'">
|
||||
:returnUrl="return_url">
|
||||
</payment>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -119,11 +119,13 @@ export default {
|
|||
pay_close: false,
|
||||
pay_order_id: '',
|
||||
totalPrice: 0,
|
||||
return_url: '',
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
let _this = this;
|
||||
_this.agent_id = options.agent_id || 0;
|
||||
_this.return_url = `/pages/agent/delivery/payment_record?agent_id=${_this.agent_id}`;
|
||||
// 判断:agent_id <= 0 抛出错误,返回代理中心
|
||||
if(Number(_this.agent_id) <= 0){
|
||||
_this.$util.Tips({
|
||||
|
|
|
|||
Loading…
Reference in New Issue