调整移动动端空状态大小、加载时标题改成空

This commit is contained in:
eoao
2025-06-29 22:01:39 +08:00
parent c72213b97d
commit 52e5915d93
9 changed files with 192 additions and 192 deletions

View File

@@ -39,8 +39,6 @@ function updateContent() {
const bodyStyleMatch = props.html.match(bodyStyleRegex);
const bodyStyle = bodyStyleMatch ? bodyStyleMatch[1] : '';
console.log(bodyStyle)
// 2. 移除 <body> 标签(保留内容)
const cleanedHtml = props.html.replace(/<\/?body[^>]*>/gi, '');