mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-15 12:24:48 +08:00
feat(docs): 修复仅复制原文时的bug,更新 TODO.md
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user