This commit is contained in:
fan
2021-03-13 14:47:23 +08:00
parent e299a26591
commit 63f8d3ef83
7 changed files with 10 additions and 10 deletions
+4 -2
View File
@@ -667,7 +667,6 @@ export default {
*/
async changeContact(contactId, menuName) {
if (menuName) {
//this.activeSidebar = menuName;
this.changeMenu(menuName);
} else {
if (this._changeContactLock || this.currentContactId == contactId)
@@ -689,7 +688,10 @@ export default {
if (!this.currentContactId) return false;
this.$emit("change-contact", this.currentContact, this);
if (isFunction(this.currentContact.renderContainer)) {
if (
isFunction(this.currentContact.renderContainer) ||
this.activeSidebar == DEFAULT_MENU_CONTACTS
) {
return;
}
//填充草稿内容