调整移动动端空状态大小、加载时标题改成空
This commit is contained in:
@@ -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, '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user