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