chore: 前端跑一遍 format、lint,尝试在 ci 中加入前端 lint 检查 (#353)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-06-04 21:37:26 +08:00
committed by GitHub
parent 6226fa7c4d
commit 0e98f484ef
6 changed files with 45 additions and 26 deletions
+1 -3
View File
@@ -3,14 +3,12 @@
import { Card, CardContent, CardHeader, CardTitle } from '$lib/components/ui/card/index.js';
import { Button } from '$lib/components/ui/button/index.js';
import * as AlertDialog from '$lib/components/ui/alert-dialog/index.js';
import type { ApiError, VideoInfo } from '$lib/types';
import type { VideoInfo } from '$lib/types';
import RotateCcwIcon from '@lucide/svelte/icons/rotate-ccw';
import InfoIcon from '@lucide/svelte/icons/info';
import UserIcon from '@lucide/svelte/icons/user';
import { goto } from '$app/navigation';
import api from '$lib/api';
import * as Tooltip from '$lib/components/ui/tooltip/index.js';
import { toast } from 'svelte-sonner';
export let video: VideoInfo;
export let showActions: boolean = true; // 控制是否显示操作按钮