feat: 全面优化ai-hub前端细节
This commit is contained in:
@@ -23,7 +23,7 @@ const sessionId = computed(() => route.params?.id);
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: calc(100% - 32px);
|
||||
// width: calc(100% - 32px);
|
||||
height: 100%;
|
||||
padding: 0 16px;
|
||||
overflow-anchor: none;
|
||||
|
||||
@@ -312,7 +312,7 @@ function copy(item: any) {
|
||||
<div class="footer-container">
|
||||
<div class="footer-time">
|
||||
<span v-if="item.creationTime "> {{ item.creationTime }}</span>
|
||||
<span v-if="((item.role === 'ai' || item.role === 'assistant') && item?.tokenUsage?.total) " class="footer-token">
|
||||
<span style="margin-left: 10px;" v-if="((item.role === 'ai' || item.role === 'assistant') && item?.tokenUsage?.total) " class="footer-token">
|
||||
{{ ((item.role === 'ai' || item.role === 'assistant') && item?.tokenUsage?.total) ? `token:${item?.tokenUsage?.total}` : '' }}</span>
|
||||
<el-button icon="DocumentCopy" size="small" circle @click="copy(item)" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user