This commit is contained in:
aixianling
2024-08-22 16:52:28 +08:00
parent efd05d3298
commit 43e7f044f3

View File

@@ -174,6 +174,7 @@ export default {
<div v-text="profile.name"/> <div v-text="profile.name"/>
<span v-text="profile.girdName"/> <span v-text="profile.girdName"/>
</div> </div>
<el-scrollbar>
<div class="apps"> <div class="apps">
<div v-for="(item,i) in apps" :key="i" class="app pointer" :class="{current:item.id==app.aiConfigId}" :style="getIcon(item)" v-text="item.appName" @click="handleChangeApp(item)"/> <div v-for="(item,i) in apps" :key="i" class="app pointer" :class="{current:item.id==app.aiConfigId}" :style="getIcon(item)" v-text="item.appName" @click="handleChangeApp(item)"/>
</div> </div>
@@ -186,6 +187,7 @@ export default {
</div> </div>
</div> </div>
</div> </div>
</el-scrollbar>
</div> </div>
<div class="right flex column gap-14"> <div class="right flex column gap-14">
<chat-content class="fill" :list="history"/> <chat-content class="fill" :list="history"/>
@@ -281,8 +283,7 @@ export default {
width: 0; width: 0;
height: 100%; height: 100%;
padding: 14px 0; padding: 14px 0;
overflow-x: hidden; overflow: hidden;
overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
& > * { & > * {
@@ -410,6 +411,14 @@ export default {
} }
} }
} }
:deep(.el-scrollbar) {
height: calc(100% - 88px);
.el-scrollbar__wrap {
overflow-x: hidden;
}
}
} }
.right { .right {