moefyit/vuepress-plugin-meting

Error in mounted hook: "ReferenceError: __MOBILE_OPTIONS is not defined"

yokefellow opened this issue · 1 comments

version: 0.3.2
MetingGlobal.vue 第54行,__MOBILE_OPTIONS少了个下划线后缀

function hide_mini_player() {
  if (!__MOBILE_OPTIONS.cover) {
    body.childNodes.forEach((child) => {
      child.style.display = 'none'
    })
    body.style.background = 'transparent'
    btn.style.display = 'block'
    btn.style.right = 'auto'
  }
  if (!__MOBILE_OPTIONS__.lrc) {
    lrc.style.display = 'none'
  }
  isShow = false
}

感谢~已经修复并发布 0.3.3 版本~