<div [ngStyle]="{'width': '100%'; 'height': '100%'; 'background-size': 'cover'; 'background-repeat': 'no-repeat'; 'border-radius': '0px';}"></div>
Uncaught Error: Template parse errors: Parser Error: Missing expected } at column 17 in [{'width': '100%'; 'height': '100%'; 'background-size': 'cover'; 'background-repeat': 'no-repeat'; 'border-radius': '0px';}] in ng:///AppModule/[email protected]:29 ("="width: 100%; height: 100%;">
什麼是應該引起錯誤,當我得到的鉻控制檯,下面的錯誤?
我猜'''在對象字面值內應該是',' –
@GünterZöchbauer這顯然是我必須做的。謝謝。 – Kais