From bc4ab46fb5c4cb4435efabfe4b316be4ace5b026 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 22 七月 2024 15:31:04 +0800 Subject: [PATCH] 修改 customDrawer --- src/views/project/ch/home/Home.vue | 24 +++--------------------- 1 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/views/project/ch/home/Home.vue b/src/views/project/ch/home/Home.vue index c94aabe..acec42b 100644 --- a/src/views/project/ch/home/Home.vue +++ b/src/views/project/ch/home/Home.vue @@ -14,7 +14,7 @@ ref="waterCenterRef" @updateChatInput="updateChatInput" /> - <waterBottom @tagListClick="tagListClick" /> + <waterBottom /> </div> <CustomDrawer @@ -46,8 +46,7 @@ import CustomDrawer from '/@/components/drawer/CustomDrawer.vue'; let state = reactive({ isShowAdvanceExample: false, - customTagList: [], - customOfficeList: [], + }); const topRef = ref(null); @@ -62,24 +61,7 @@ customDrawerrRef.value.getTableData(); } }; -const tagListClick = (val) => { - if (val.length > 0) { - const selectTagList = []; - const officeList = []; - val.forEach((item) => { - if (item.section_id != 'office_assistant') { - selectTagList.push(item); - } else { - officeList.push(item); - } - }); - state.customTagList = selectTagList; - state.customOfficeList = officeList; - } else { - state.customTagList = []; - state.customOfficeList = []; - } -}; + </script> <style scoped lang="scss"> .pc-chat_room { -- Gitblit v1.9.3