1、优化相关bug

This commit is contained in:
905166056 2021-11-05 15:48:44 +08:00
parent 7aea651719
commit 9ea24a8694
2 changed files with 17 additions and 10 deletions

View File

@ -32,7 +32,10 @@
}, },
methods: { methods: {
_closePayModal: function() { _closePayModal: function() {
this.context.navigateBack(); // this.context.navigateBack();
uni.navigateBack({
delta:1
})
}, },
_payOweFee: function() { _payOweFee: function() {
let _that = this; let _that = this;

View File

@ -94,15 +94,16 @@
this.java110Context.onLoad(); this.java110Context.onLoad();
}, },
onShow() { onShow() {
if(this.context.isPageBack()){ this._queryRoom();
this.roomInfo = { // if(this.context.isPageBack()){
ownerName:'', // this.roomInfo = {
link:"" // ownerName:'',
}; // link:""
this.fees = []; // };
this.roomInfo.roomId = ''; // this.fees = [];
this.roomNum = ''; // this.roomInfo.roomId = '';
} // this.roomNum = '';
// }
}, },
methods: { methods: {
/** /**
@ -183,6 +184,9 @@
}) })
}, },
_queryRoom: function() { _queryRoom: function() {
if(!this.roomName){
return;
}
let _allNum = this.roomName.split("-"); let _allNum = this.roomName.split("-");
if (_allNum.length != 3) { if (_allNum.length != 3) {