修正单词拼写错误

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
},