fix
This commit is contained in:
parent
e4c165cd18
commit
20150a81b5
|
@ -72,11 +72,11 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
return
|
||||
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
||||
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag{
|
||||
logx.Error("由于模板切换了,丢弃该渲染消息")
|
||||
logx.Info("由于模板切换了,丢弃该渲染消息")
|
||||
continue
|
||||
}
|
||||
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex{
|
||||
logx.Error("由于模板切换了颜色,丢弃该渲染消息")
|
||||
logx.Info("由于模板切换了颜色,丢弃该渲染消息")
|
||||
continue
|
||||
}
|
||||
limitChan <- struct{}{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user