From 5fea7804f97bb2aa5a9a92293536d54150d3727b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 22 May 2023 12:00:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B6=88=E6=81=AF=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=97=E7=AE=A1=E7=90=86=E4=B8=AD=E2=80=9C=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E9=A3=9E=E4=B9=A6=E2=80=9D=E6=97=A0=E6=B3=95=E9=9A=90?= =?UTF-8?q?=E8=97=8F#5119?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/controller/sys/MsgController.java | 3 +++ frontend/src/views/msg/Setting.vue | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/backend/src/main/java/io/dataease/controller/sys/MsgController.java b/backend/src/main/java/io/dataease/controller/sys/MsgController.java index 9870df1a87..d68ba912bf 100644 --- a/backend/src/main/java/io/dataease/controller/sys/MsgController.java +++ b/backend/src/main/java/io/dataease/controller/sys/MsgController.java @@ -131,6 +131,9 @@ public class MsgController { if (msgChannelId == 5L) { return authUserService.supportLark(); } + if (msgChannelId == 6L) { + return authUserService.supportLarksuite(); + } return true; }).collect(Collectors.toList()); } diff --git a/frontend/src/views/msg/Setting.vue b/frontend/src/views/msg/Setting.vue index 8fb727c62a..1990b80fe5 100644 --- a/frontend/src/views/msg/Setting.vue +++ b/frontend/src/views/msg/Setting.vue @@ -91,8 +91,6 @@ export default { computed: {}, mounted() {}, beforeCreate() { - // this.loadChannelData() - channelList().then((res) => { this.msg_channels = res.data }) @@ -153,12 +151,6 @@ export default { // this.checkBoxStatus(node, ) } }, - // 加载消息渠道 - loadChannelData() { - channelList().then((res) => { - this.msg_channels = res.data - }) - }, // 加载用户设置信息 loadSettingData(callBack) { // this.setting_data = {}