Skip to content

Commit 6329f5c

Browse files
fix: chat video width
1 parent faa9e09 commit 6329f5c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

ui/src/components/folder-tree/MoveToDialog.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@
2121
<el-button @click.prevent="dialogVisible = false" :loading="loading">
2222
{{ $t('common.cancel') }}
2323
</el-button>
24-
<el-button type="primary" @click="submitHandle" :loading="loading">
24+
<el-button
25+
type="primary"
26+
@click="submitHandle"
27+
:loading="loading"
28+
:disabled="!selectForderId || selectForderId === folder?.currentFolder?.id"
29+
>
2530
{{ $t('common.confirm') }}
2631
</el-button>
2732
</span>

ui/src/styles/md-editor.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
border: 0 !important;
2727
max-width: 360px !important;
2828
}
29+
video {
30+
max-width: 360px !important;
31+
}
2932
ul {
3033
list-style: circle;
3134
}

ui/src/views/tool/ToolFormDrawer.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ function openGenerateCodeDialog() {
416416
function replaceCode(code: string) {
417417
const match = code.replace('```python', '').replace('```', '')
418418
form.value.code = match
419+
MsgSuccess(t('views.document.tip.replaceSuccess'))
419420
}
420421
421422
const submit = async (formEl: FormInstance | undefined) => {

0 commit comments

Comments
 (0)