mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 20:09:41 +08:00
增加自定义html内容,音乐播放器属性增强
This commit is contained in:
parent
7274702b01
commit
c81790bdcd
@ -110,8 +110,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
new Promise(async (resolve) => {
|
||||
if (this.hasAttribute('meetingApi')) {
|
||||
this.options.audio = await fetch(this.getAttribute('meetingApi'))
|
||||
if (this.hasAttribute('meetingUrl')) {
|
||||
this.options.audio = await fetch(this.getAttribute('meetingUrl'))
|
||||
.then((response) => response.json())
|
||||
} else if (this.hasAttribute('song')) {
|
||||
this.options.audio = await fetch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user