From b63ffb451363cb08819cb10e7173400ff148d99b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Sun, 29 May 2022 11:01:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=97=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=81=94=E5=8A=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/msg/setting.vue | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/frontend/src/views/msg/setting.vue b/frontend/src/views/msg/setting.vue index 751b1d0339..3c67fb69b7 100644 --- a/frontend/src/views/msg/setting.vue +++ b/frontend/src/views/msg/setting.vue @@ -24,9 +24,7 @@
- + @@ -150,17 +148,7 @@ export default { const nodeId = node.id return this.setting_data[nodeId] && this.setting_data[nodeId].some(item => item.channelId === channel.msgChannelId && item.enable) }, - clickAuth(node, channel) { - // const status = this.checkBoxStatus(nodeId, channel) - const param = { - typeId: node.data.id, - channelId: channel.msgChannelId - } - updateSetting(param).then(res => { - this.loadSettingData() - // node.checked = true - }) - }, + nodeClick(data, node) { }, getAllKidId(node, ids) { @@ -190,7 +178,7 @@ export default { enable } batchUpdate(param).then(res => { - this.loadSettingData() + this.loadSettingData(this.loadTreeData) }) }, childBoxChange(node, channel) { @@ -224,7 +212,7 @@ export default { channelId: channelId } updateSetting(param).then(res => { - this.loadSettingData() + this.loadSettingData(this.loadTreeData) }) } }