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: {
_closePayModal: function() {
this.context.navigateBack();
// this.context.navigateBack();
uni.navigateBack({
delta:1
})
},
_payOweFee: function() {
let _that = this;

View File

@ -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) {