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

@@ -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'))