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

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 let { type, data } = event.data
switch (type) { switch (type) {
case 'roomSetCustomStyle': case 'roomSetCustomStyle':
this.customStyleElement.innerText = data.css this.customStyleElement.textContent = data.css
break break
case 'roomStartClient': case 'roomStartClient':
if (this.chatClient) { if (this.chatClient) {