Skip to content

Commit d907dd3

Browse files
perf: 部分优化
perf: 部分优化
2 parents 2ec9f41 + 23b9cac commit d907dd3

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

ui/src/views/chat/embed/index.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
:chatId="currentChatId"
1616
@refresh="refresh"
1717
@scroll="handleScroll"
18-
></AiChat>
18+
class="AiChat-embed"
19+
>
20+
</AiChat>
1921
</div>
2022

2123
<el-button type="primary" link class="new-chat-button" @click="newChat">
@@ -225,7 +227,7 @@ onMounted(() => {
225227
}
226228
.new-chat-button {
227229
position: absolute;
228-
bottom: 84px;
230+
bottom: 80px;
229231
left: 18px;
230232
z-index: 11;
231233
}
@@ -282,5 +284,13 @@ onMounted(() => {
282284
max-width: var(--app-chat-width, 860px);
283285
margin: 0 auto;
284286
}
287+
.AiChat-embed {
288+
.ai-chat__operate {
289+
padding-top: 38px;
290+
}
291+
.ai-chat__content {
292+
padding-bottom: 104px
293+
}
294+
}
285295
}
286296
</style>

ui/src/views/hit-test/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
<el-input-number
145145
v-model="cloneForm.top_number"
146146
:min="1"
147-
:max="10"
147+
:max="100"
148148
controls-position="right"
149149
class="w-full"
150150
/>

0 commit comments

Comments
 (0)