今天不小心遇到一个这样的错误,我先来发一下错误的代码把(这个代码允许可以执行,但是这个组件的element-ui的组件,这个组件是进度条的一个组件)
<div>
<el-progress type="circle" width="150" stroke-width="25"
:percentage="item.bfb"></el-progress>
</div>
正确代码(就是少加了个 : 这个符号)
<div>
<el-progress type="circle" :width="150" :stroke-width="25"
:percentage="item.bfb"></el-progress>
</div>