为组件动态添加样式报错{ expected css(css-lcurlyexpected)?
{
"owner": "\_generated\_diagnostic\_collection\_name\_\#1",
"code": "css-lcurlyexpected",
"severity": 8,
"message": "{ expected",
"source": "css",
"startLineNumber": 3,
"startColumn": 77,
"endLineNumber": 3,
"endColumn": 90
}
当我参考网上办法往style=’‘前面加个:时
:style=’‘,这样确实可以正常编译,但是样式却失效了!
求解决这个报错的办法!!