增加自定义html内容,音乐播放器属性增强

This commit is contained in:
mjsoftware 2024-12-21 13:12:31 +08:00
parent c81790bdcd
commit 0c46d5fd6f

View File

@ -65,7 +65,7 @@ document.addEventListener('DOMContentLoaded', () => {
constructor() {
super()
this.innerHTML = '音乐播放器加载中...'
this.innerHTML = this.hasAttribute('prompt') || '音乐播放器加载中...'
this.options = {
container: this,
fixed: this.hasAttribute('fixed') || false,