From 2d15eee9f8685727c4650d0ddf9744a2c16a3da0 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 25 Apr 2023 15:56:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E7=BE=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/newChat/chatDialog.vue | 6 +++++- src/views/newMap/display/newChat/editGroup.vue | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/display/newChat/chatDialog.vue b/src/views/newMap/display/newChat/chatDialog.vue index 08d3a3215..28c50ad1d 100644 --- a/src/views/newMap/display/newChat/chatDialog.vue +++ b/src/views/newMap/display/newChat/chatDialog.vue @@ -33,7 +33,7 @@
-
+
@@ -208,6 +208,7 @@ export default { return name; }, createGroup() { + if (!this.myMemberId) { return; } this.$refs.editGroup.doShow(); }, getLastMsg(list) { @@ -317,6 +318,9 @@ export default { .pointer { cursor: pointer; } + .disable { + cursor: not-allowed; + } .dialogHeader { padding: 5px 10px; display: flex; diff --git a/src/views/newMap/display/newChat/editGroup.vue b/src/views/newMap/display/newChat/editGroup.vue index 989410247..4843240a8 100644 --- a/src/views/newMap/display/newChat/editGroup.vue +++ b/src/views/newMap/display/newChat/editGroup.vue @@ -173,6 +173,12 @@ export default { memberList () { this.getTreeData(); }, + myMemberId(val) { + this.initData(); + if (!val) { + this.handleClose(); + } + }, '$store.state.map.activeTrainListChange': function () { this.getActiveTrains(); }