opt: limit the image display size in reply component

This commit is contained in:
RockYang
2023-12-15 10:48:13 +08:00
parent 4290c4ca22
commit 56269170cb
5 changed files with 13 additions and 2 deletions

View File

@@ -554,6 +554,7 @@ const rewritePrompt = () => {
params.value.prompt = res.data
loading.value = false
}).catch(e => {
loading.value = false
ElMessage.error("翻译失败:" + e.message)
})
}
@@ -564,6 +565,7 @@ const translatePrompt = () => {
params.value.prompt = res.data
loading.value = false
}).catch(e => {
loading.value = false
ElMessage.error("翻译失败:" + e.message)
})
}