Unexpected semicolon at the end of ‘color‘ style value...

Unexpected semicolon at the end of 'color' style value: '#361D11;' --警告 起因,在父组件

Unexpected semicolon at the end of 'color' style value: '#361D11;' --警告

起因,在父组件定义desC:'#361D11',在子组件中动态使用:style="{color: list.titleC}"导致错误生成

 结论: desC:'color: #361D11;' ,将color也写进来,如果需要单独使用‘ #361D11’,无法解决。