修正单词拼写错误

This commit is contained in:
lyswhut
2021-03-12 09:02:40 +08:00
parent af59a4472a
commit 68d8369a8b
10 changed files with 23 additions and 18 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
transition(enter-active-class="animated-fast fadeIn" leave-active-class="animated-fast fadeOut")
.control-bar(v-show="!lrcConfig.isLock")
core-control-bar(:lrcConfig="lrcConfig" :themes="themeList")
core-lyric(:lrcConfig="lrcConfig" :isPlayLxlrc="isPlayLxlrc" :isShowLyricTransition="isShowLyricTransition")
core-lyric(:lrcConfig="lrcConfig" :isPlayLxlrc="isPlayLxlrc" :isShowLyricTranslation="isShowLyricTranslation")
div.resize-left(@mousedown.self="handleMouseDown('left', $event)")
div.resize-top(@mousedown.self="handleMouseDown('top', $event)")
div.resize-right(@mousedown.self="handleMouseDown('right', $event)")
@@ -44,7 +44,7 @@ export default {
isZoomActiveLrc: true,
},
},
isShowLyricTransition: true,
isShowLyricTranslation: true,
isPlayLxlrc: true,
themeList: [
{
@@ -119,9 +119,9 @@ export default {
document.removeEventListener('mouseup', this.handleMouseUp)
},
methods: {
handleUpdateConfig({ config, languageId, isShowLyricTransition, isPlayLxlrc }) {
handleUpdateConfig({ config, languageId, isShowLyricTranslation, isPlayLxlrc }) {
this.lrcConfig = config
this.isShowLyricTransition = isShowLyricTransition
this.isShowLyricTranslation = isShowLyricTranslation
this.isPlayLxlrc = isPlayLxlrc
if (this.$i18n.locale !== languageId && languageId != null) this.$i18n.locale = languageId
},
+4 -4
View File
@@ -32,7 +32,7 @@ export default {
type: Boolean,
default: true,
},
isShowLyricTransition: {
isShowLyricTranslation: {
type: Boolean,
default: true,
},
@@ -126,7 +126,7 @@ export default {
},
immediate: true,
},
isShowLyricTransition() {
isShowLyricTranslation() {
this.setLyric()
rendererSend(NAMES.winLyric.get_lyric_info, 'status')
},
@@ -306,8 +306,8 @@ export default {
setLyric() {
window.lrc.setLyric(
this.isPlayLxlrc && this.lyrics.lxlyric ? this.lyrics.lxlyric : this.lyrics.lyric,
this.isShowLyricTransition && this.lyrics.tlyric ? this.lyrics.tlyric : '',
// (this.isShowLyricTransition && this.lyrics.tlyric ? (this.lyrics.tlyric + '\n') : '') + (this.lyrics.lyric || ''),
this.isShowLyricTranslation && this.lyrics.tlyric ? this.lyrics.tlyric : '',
// (this.isShowLyricTranslation && this.lyrics.tlyric ? (this.lyrics.tlyric + '\n') : '') + (this.lyrics.lyric || ''),
)
},
},