MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / copyText

Function copyText

web/src/components/settings/PersonalSetting.js:339–346  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

337 };
338
339 const copyText = async (text) => {
340 if (await copy(text)) {
341 showSuccess(t('已复制:') + text);
342 } else {
343 // setSearchKeyword(text);
344 Modal.error({ title: t('无法复制到剪贴板,请手动复制'), content: text });
345 }
346 };
347
348 const handleNotificationSettingChange = (type, value) => {
349 setNotificationSettings((prev) => ({

Callers 6

LogsTable.jsFile · 0.85
ModelPricing.jsFile · 0.85
TokensTable.jsFile · 0.85
asyncFunction · 0.85
PersonalSetting.jsFile · 0.85

Calls 3

copyFunction · 0.90
showSuccessFunction · 0.90
tFunction · 0.70

Tested by

no test coverage detected