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:
wizardchen
2025-11-07 00:56:18 +08:00
parent b3a0d00fc3
commit 4fb12545c1
3 changed files with 49 additions and 19 deletions
+1 -9
View File
@@ -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;
}