临时解决

This commit is contained in:
2020-09-05 12:07:47 +08:00
parent b38a2b8103
commit df1d1e78b4
3 changed files with 13 additions and 5 deletions

View File

@@ -132,10 +132,8 @@
this.messages = privateMessages.sentMessages;
this.pendingMessages = privateMessages.pendingMessages;
uni.setNavigationBarTitle({
title : this.friend.name
});
console.log(this.friend.name)
this.setTitle(this.friend.name)
setTimeout(() => {
uni.setNavigationBarColor({
backgroundColor : '#FF780F',
@@ -158,6 +156,15 @@
this.imService.uid = 0;
},
methods: {
setTitle(title){
let that = this
uni.setNavigationBarTitle({
title : title,
fail(){
that.setTitle(title)
}
});
},
bindtapInput(){
console.log("222")
var _that = this;