File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
spring-ai-alibaba-jmanus/ui-vue3/src/components/chat Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ mdRenderer.code = ({ text, lang }: { text: string; lang?: string; escaped?: bool
571
571
<div class="md-code-block" data-lang="${label }">
572
572
<div class="md-code-header">
573
573
<span class="md-lang">${label }</span>
574
- <button class="md-copy-btn" data-raw="${rawEncoded }" title="复制">复制 </button>
574
+ <button class="md-copy-btn" data-raw="${rawEncoded }" title="copy">copy </button>
575
575
</div>
576
576
<pre><code class="hljs language-${label }">${highlighted }</code></pre>
577
577
</div> `
@@ -1412,12 +1412,12 @@ const handleMessageContainerClick = (event: Event) => {
1412
1412
document .execCommand (' copy' )
1413
1413
document .body .removeChild (ta )
1414
1414
}
1415
- btn .textContent = ' 已复制 '
1416
- setTimeout (() => (btn .textContent = ' 复制 ' ), 1500 )
1415
+ btn .textContent = ' copy '
1416
+ setTimeout (() => (btn .textContent = ' copy ' ), 1500 )
1417
1417
} catch (err ) {
1418
1418
console .error (' Copy failed:' , err )
1419
- btn .textContent = ' 复制失败 '
1420
- setTimeout (() => (btn .textContent = ' 复制 ' ), 1500 )
1419
+ btn .textContent = ' copy failed '
1420
+ setTimeout (() => (btn .textContent = ' copy ' ), 1500 )
1421
1421
}
1422
1422
}
1423
1423
You can’t perform that action at this time.
0 commit comments