feat(docs): 修复仅复制原文时的bug,更新 TODO.md

This commit is contained in:
himeditator
2025-07-08 01:44:38 +08:00
parent 8ac1c99c63
commit 1965bbfee7
2 changed files with 5 additions and 3 deletions

View File

@@ -5,13 +5,15 @@
- [x] 优化长字幕显示效果 *2025/07/05*
- [x] 修复字幕引擎空置报错的问题 *2025/07/05*
- [x] 增强字幕窗口顶置优先级 *2025/07/07*
- [x] 添加对自带字幕引擎的详细规格说明 *2025/07/07*
- [x] 添加复制字幕到剪贴板功能 *2025/07/08*
## 待完成
- [ ] 添加复制字幕到剪贴板功能
- [ ] 添加字幕文字描边
- [ ] 添加本地字幕引擎
- [ ] 添加对自带字幕引擎的详细规格说明
- [ ] 添加基于 Vosk 的字幕引擎
- [ ] 验证 / 添加基于 FunASR 的字幕引擎
- [ ] 减小软件不必要的体积
## 遥远的未来

View File

@@ -139,7 +139,7 @@ function copyCaptions() {
if(copyTime.value) content += `${item.time_s} --> ${item.time_t}\n`.replace(/\./g, ',')
if(copyOption.value === 'both') content += `${item.text}\n${item.translation}\n\n`
else if(copyOption.value === 'source') content += `${item.text}\n\n`
else if(copyOption.value === 'translation') content += `${item.translation}\n\n`
else content += `${item.translation}\n\n`
}
navigator.clipboard.writeText(content)
message.success(t('log.copySuccess'))