优化样式生成器预览的性能

This commit is contained in:
John Smith 2024-11-23 18:49:27 +08:00
parent e27955b8b5
commit 3976aa79ed

View File

@ -242,7 +242,7 @@ export default {
let { type, data } = event.data
switch (type) {
case 'roomSetCustomStyle':
this.customStyleElement.innerText = data.css
this.customStyleElement.textContent = data.css
break
case 'roomStartClient':
if (this.chatClient) {