feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 9fc5fd212d
commit 28e924e371
242 changed files with 9242 additions and 5043 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import { writeClipboardText } from '../../helpers/clipboard';
import React, { useState, useContext, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import { Link, useNavigate, useSearchParams } from 'react-router-dom';
@@ -113,7 +114,7 @@ const Tutorial = () => {
// 复制代码
const copyCode = async (code, index) => {
try {
await navigator.clipboard.writeText(code);
await writeClipboardText(code);
setCopiedIndex(index);
Toast.success(t('已复制到剪贴板'));
setTimeout(() => setCopiedIndex(null), 2000);