11
This commit is contained in:
parent
6cdb8b6e6b
commit
9858300984
|
@ -86,10 +86,12 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
||||
//标签不一样
|
||||
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
logx.Info("标签不一致,丢弃消息")
|
||||
continue
|
||||
}
|
||||
//颜色不一致
|
||||
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex {
|
||||
logx.Info("颜色不一致,丢弃消息")
|
||||
continue
|
||||
}
|
||||
limitChan <- struct{}{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user