Environment
vue 2.6 iview 3.0
Reproduction link
https://jsfiddle.net/yyrzhm46/
Steps to reproduce
What is expected?
应当设定进度条的max-width: 100%
What is actually happening?
bgStyle () {
return this.vertical ? {
height: ${this.percent}%
,
width: ${this.strokeWidth}px
} : {
width: ${this.percent}%
,
height: ${this.strokeWidth}px
};
},
1条答案
按热度按时间ezykj2lf1#
Translation of this issue:
Environment
Vue 2.6 iView 3.0
Reproduction link
https://jsfiddle.net/yyrzhm46/
Steps to reproduce
What is expected?
The max-width of the progress bar should be set: 100%
What is actually happening?
BgStyle (){
Return this. vertical?{
Height:
${this.percentage}%', Width:
${this. strokeWidth} px}: { Width:
${this.percentage}%',Height:
${this. strokeWidth} px
}
}