feat: 添加 ESLint 配置并优化代码风格,移除未使用的功能

This commit is contained in:
Elysia
2026-02-12 18:31:09 +08:00
parent b43c6117ec
commit e11740ad4c
14 changed files with 65 additions and 114 deletions

View File

@@ -146,18 +146,6 @@ const handleOverlayClick = () => {
close();
};
const pause = () => {
// emit('pause', props.download.id);
};
const resume = () => {
// emit('resume', props.download.id);
};
const cancel = () => {
//emit('cancel', props.download.id);
};
const retry = () => {
if (props.download) {
emit('retry', props.download);