fix: Adjust menu styles and loading state handling in chat component
- Updated submenu item styles in menu.vue for better alignment and consistency. - Removed unnecessary loading state resets in chat/index.vue to improve user experience during data processing. - Enhanced comments for clarity regarding loading state management in chat events.
This commit is contained in:
@@ -55,9 +55,8 @@
|
||||
<div :class="['submenu_item', currentSecondpath == subitem.path ? 'submenu_item_active' : '']"
|
||||
@mouseenter="mouseenteBotDownr(subitem.id)" @mouseleave="mouseleaveBotDown"
|
||||
@click="gotopage(subitem.path)">
|
||||
<i v-if="currentSecondpath == subitem.path" class="dot"></i>
|
||||
<span class="submenu_title"
|
||||
:style="currentSecondpath == subitem.path ? 'margin-left:14px;max-width:160px;' : 'margin-left:18px;max-width:185px;'">
|
||||
:style="currentSecondpath == subitem.path ? 'margin-left:18px;max-width:160px;' : 'margin-left:18px;max-width:185px;'">
|
||||
{{ subitem.title }}
|
||||
</span>
|
||||
<t-dropdown
|
||||
@@ -875,13 +874,6 @@ watch(() => route.params.kbId, () => {
|
||||
color: #07C05F;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
border-radius: 50%;
|
||||
background: #07C05F;
|
||||
}
|
||||
|
||||
.sub_title {
|
||||
margin-left: 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user