标签: angular
https://stackoverflow.com/a/43306621/10593587。有这个例子吗?由于我是Angular的新手,因此无法在组件模板中添加"<div {{ dynamicVar !== '' ? 'col-'+dynamicVar : '' }} > </div>"
"<div {{ dynamicVar !== '' ? 'col-'+dynamicVar : '' }} > </div>"