Skip to content

Commit a4d2543

Browse files
committed
fix(Embedded): The assistant modifies the prompt information from full screen to enlarged
1 parent fc13d41 commit a4d2543

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

frontend/src/views/chat/chat-block/ChartBlock.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,11 @@ watch(
395395
</div> -->
396396
<div class="divider" />
397397
<div v-if="!enlarge">
398-
<el-tooltip effect="dark" :content="t('chat.full_screen')" placement="top">
398+
<el-tooltip
399+
effect="dark"
400+
:content="isAssistant ? $t('common.zoom_in') : t('chat.full_screen')"
401+
placement="top"
402+
>
399403
<el-button class="tool-btn" text @click="openFullScreen">
400404
<el-icon size="16">
401405
<icon_window_max_outlined />
@@ -404,7 +408,11 @@ watch(
404408
</el-tooltip>
405409
</div>
406410
<div v-else>
407-
<el-tooltip effect="dark" :content="t('chat.exit_full_screen')" placement="top">
411+
<el-tooltip
412+
effect="dark"
413+
:content="isAssistant ? $t('common.zoom_out') : t('chat.exit_full_screen')"
414+
placement="top"
415+
>
408416
<el-button class="tool-btn" text @click="closeFullScreen">
409417
<el-icon size="16">
410418
<icon_window_mini_outlined />

0 commit comments

Comments
 (0)