This commit is contained in:
laodaming 2023-09-22 14:33:16 +08:00
parent e4c165cd18
commit 20150a81b5

View File

@ -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{}{}