mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
4.8.10 test (#2618)
* perf: menu arrow ui * perf: http node placeholder * perf: http node form input * perf: chatBox performance
This commit is contained in:
@@ -17,6 +17,8 @@ export const useCopyData = () => {
|
||||
title: string | null = t('common:common.Copy Successful'),
|
||||
duration = 1000
|
||||
) => {
|
||||
data = data.trim();
|
||||
|
||||
try {
|
||||
if ((hasHttps() || !isProduction) && navigator.clipboard) {
|
||||
await navigator.clipboard.writeText(data);
|
||||
|
Reference in New Issue
Block a user