diff --git a/pages/payFeeByQrCode/payFeeByQrCode.vue b/pages/payFeeByQrCode/payFeeByQrCode.vue index 9e984df..11066c1 100644 --- a/pages/payFeeByQrCode/payFeeByQrCode.vue +++ b/pages/payFeeByQrCode/payFeeByQrCode.vue @@ -32,7 +32,10 @@ }, methods: { _closePayModal: function() { - this.context.navigateBack(); + // this.context.navigateBack(); + uni.navigateBack({ + delta:1 + }) }, _payOweFee: function() { let _that = this; diff --git a/pages/roomPayFee/roomPayFee.vue b/pages/roomPayFee/roomPayFee.vue index d4231e7..498c0e9 100644 --- a/pages/roomPayFee/roomPayFee.vue +++ b/pages/roomPayFee/roomPayFee.vue @@ -94,15 +94,16 @@ this.java110Context.onLoad(); }, onShow() { - if(this.context.isPageBack()){ - this.roomInfo = { - ownerName:'', - link:"" - }; - this.fees = []; - this.roomInfo.roomId = ''; - this.roomNum = ''; - } + this._queryRoom(); + // if(this.context.isPageBack()){ + // this.roomInfo = { + // ownerName:'', + // link:"" + // }; + // this.fees = []; + // this.roomInfo.roomId = ''; + // this.roomNum = ''; + // } }, methods: { /** @@ -183,6 +184,9 @@ }) }, _queryRoom: function() { + if(!this.roomName){ + return; + } let _allNum = this.roomName.split("-"); if (_allNum.length != 3) {