From afa78b3c1d706d365780cedebf8b3222d878c2dd Mon Sep 17 00:00:00 2001 From: unknown <1533540012@qq.com> Date: Sun, 23 Jun 2024 14:21:46 +0800 Subject: [PATCH] emmm --- docs/eplayer.js | 2 ++ docs/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/eplayer.js b/docs/eplayer.js index c40ba91..6b7f997 100644 --- a/docs/eplayer.js +++ b/docs/eplayer.js @@ -36,6 +36,7 @@ class Eplayer extends HTMLElement { } startMug() { + if (!this.beatmap) return this.$('.mug').innerHTML = '' // 先清空 this.$('.mug').style.display = 'block' this.$('.mug').style.height = this.height + 'px' @@ -230,6 +231,7 @@ class Eplayer extends HTMLElement { } init() { + // console.log(this.beatmap) let html = `