File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed
Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 2121 :class =" { 'assistant-popover-sidebar': isAssistant }"
2222 >
2323 <el-popover
24- :visible =" isAssistant ? floatPopoverVisible : null"
2524 :width =" 280"
2625 placement =" bottom-start"
2726 :popper-style =" { ...defaultFloatPopoverStyle }"
4847 @on-click-side-bar-btn =" hideSideBar"
4948 />
5049 </el-popover >
50+
51+ <el-drawer
52+ v-model =" floatPopoverVisible"
53+ :with-header =" false"
54+ direction =" ltr"
55+ size =" 278"
56+ modal-class =" assistant-popover_sidebar"
57+ :before-close =" hideSideBar"
58+ >
59+ <ChatListContainer
60+ ref =" floatPopoverRef"
61+ v-model:chat-list =" chatList"
62+ v-model:current-chat-id =" currentChatId"
63+ v-model:current-chat =" currentChat"
64+ v-model:loading =" loading"
65+ :in-popover =" false"
66+ @go-empty =" goEmpty"
67+ @on-chat-created =" onChatCreated"
68+ @on-click-history =" onClickHistory"
69+ @on-chat-deleted =" onChatDeleted"
70+ @on-chat-renamed =" onChatRenamed"
71+ @on-click-side-bar-btn =" hideSideBar"
72+ />
73+ </el-drawer >
74+
5175 <el-tooltip effect =" dark" :content =" t('qa.new_chat')" placement =" bottom" >
5276 <el-button link type =" primary" class =" icon-btn" @click =" createNewChatSimple" >
5377 <el-icon >
@@ -1092,3 +1116,15 @@ onMounted(() => {
10921116 }
10931117}
10941118 </style >
1119+
1120+ <style lang="less">
1121+ .assistant-popover_sidebar {
1122+ .ed-drawer {
1123+ height : 100% !important ;
1124+ margin-top : 0 !important ;
1125+ }
1126+ .ed-drawer__body {
1127+ padding : 0 ;
1128+ }
1129+ }
1130+ </style >
You can’t perform that action at this time.
0 commit comments