mirror of
https://github.com/xfgryujk/blivechat.git
synced 2024-12-26 12:50:33 +08:00
优化样式生成器预览的性能
This commit is contained in:
parent
e27955b8b5
commit
3976aa79ed
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user