:style="width: ${item.width}
"中 ${item.width}是ES6中模板字符串(template string)中用占位符拼接字符串的方法。
:style=“`width: ${item.width}`“解释
最新推荐文章于 2022-06-06 10:00:00 发布
:style="width: ${item.width}
"中 ${item.width}是ES6中模板字符串(template string)中用占位符拼接字符串的方法。