diff --git a/pageD/privateChat/privateChat.vue b/pageD/privateChat/privateChat.vue index efa5f93..307c0b6 100644 --- a/pageD/privateChat/privateChat.vue +++ b/pageD/privateChat/privateChat.vue @@ -158,6 +158,9 @@ methods: { setTitle(title){ let that = this + if(title == ""){ + title = "这是空的" + } uni.setNavigationBarTitle({ title : title, fail(){