feat:完成清除高亮脚本封装

This commit is contained in:
PingChuan
2025-11-27 16:13:51 +08:00
parent d5827a2146
commit f2714360d3
5 changed files with 361 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
const fileId = url.searchParams.get('fileId');
const mode = (url.searchParams.get('mode') || 'view') as 'view' | 'edit';
const userId = url.searchParams.get('userId') || userInfo?.sub || 'guest';
const userName = url.searchParams.get('userName') || userInfo?.nick_name || '访客';
const userName = url.searchParams.get('userName') || userInfo?.nick_name || '';
// 验证必需参数
if (!fileId) {