v1.7.2
This commit is contained in:
Vendored
+1
-2
@@ -8526,7 +8526,6 @@ var renderDrawerContent = function renderDrawerContent() {};
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//this.activeSidebar = menuName;
|
|
||||||
this.changeMenu(menuName);
|
this.changeMenu(menuName);
|
||||||
_context2.next = 6;
|
_context2.next = 6;
|
||||||
break;
|
break;
|
||||||
@@ -8564,7 +8563,7 @@ var renderDrawerContent = function renderDrawerContent() {};
|
|||||||
case 10:
|
case 10:
|
||||||
this.$emit("change-contact", this.currentContact, this);
|
this.$emit("change-contact", this.currentContact, this);
|
||||||
|
|
||||||
if (!isFunction(this.currentContact.renderContainer)) {
|
if (!(isFunction(this.currentContact.renderContainer) || this.activeSidebar == DEFAULT_MENU_CONTACTS)) {
|
||||||
_context2.next = 13;
|
_context2.next = 13;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-2
@@ -8535,7 +8535,6 @@ var renderDrawerContent = function renderDrawerContent() {};
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//this.activeSidebar = menuName;
|
|
||||||
this.changeMenu(menuName);
|
this.changeMenu(menuName);
|
||||||
_context2.next = 6;
|
_context2.next = 6;
|
||||||
break;
|
break;
|
||||||
@@ -8573,7 +8572,7 @@ var renderDrawerContent = function renderDrawerContent() {};
|
|||||||
case 10:
|
case 10:
|
||||||
this.$emit("change-contact", this.currentContact, this);
|
this.$emit("change-contact", this.currentContact, this);
|
||||||
|
|
||||||
if (!isFunction(this.currentContact.renderContainer)) {
|
if (!(isFunction(this.currentContact.renderContainer) || this.activeSidebar == DEFAULT_MENU_CONTACTS)) {
|
||||||
_context2.next = 13;
|
_context2.next = 13;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>Lemon IMUI</title><link href=css/index.5b3d3f23.css rel=preload as=style><link href=js/chunk-vendors.e4810482.js rel=preload as=script><link href=js/index.a107c454.js rel=preload as=script><link href=css/index.5b3d3f23.css rel=stylesheet></head><body><noscript><strong>We're sorry but flat-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.e4810482.js></script><script src=js/index.a107c454.js></script></body></html>
|
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>Lemon IMUI</title><link href=css/index.5b3d3f23.css rel=preload as=style><link href=js/chunk-vendors.e4810482.js rel=preload as=script><link href=js/index.dbf77a5a.js rel=preload as=script><link href=css/index.5b3d3f23.css rel=stylesheet></head><body><noscript><strong>We're sorry but flat-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.e4810482.js></script><script src=js/index.dbf77a5a.js></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "lemon-imui",
|
"name": "lemon-imui",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"main": "dist/index.umd.min.js",
|
"main": "dist/index.umd.min.js",
|
||||||
"description": "基于 VUE2.0 的 IM 聊天组件",
|
"description": "基于 VUE2.0 的 IM 聊天组件",
|
||||||
"homepage": "http://june000.gitee.io/lemon-im/",
|
"homepage": "http://june000.gitee.io/lemon-im/",
|
||||||
|
|||||||
@@ -667,7 +667,6 @@ export default {
|
|||||||
*/
|
*/
|
||||||
async changeContact(contactId, menuName) {
|
async changeContact(contactId, menuName) {
|
||||||
if (menuName) {
|
if (menuName) {
|
||||||
//this.activeSidebar = menuName;
|
|
||||||
this.changeMenu(menuName);
|
this.changeMenu(menuName);
|
||||||
} else {
|
} else {
|
||||||
if (this._changeContactLock || this.currentContactId == contactId)
|
if (this._changeContactLock || this.currentContactId == contactId)
|
||||||
@@ -689,7 +688,10 @@ export default {
|
|||||||
if (!this.currentContactId) return false;
|
if (!this.currentContactId) return false;
|
||||||
|
|
||||||
this.$emit("change-contact", this.currentContact, this);
|
this.$emit("change-contact", this.currentContact, this);
|
||||||
if (isFunction(this.currentContact.renderContainer)) {
|
if (
|
||||||
|
isFunction(this.currentContact.renderContainer) ||
|
||||||
|
this.activeSidebar == DEFAULT_MENU_CONTACTS
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//填充草稿内容
|
//填充草稿内容
|
||||||
|
|||||||
Reference in New Issue
Block a user