refactor(spin): support vue3

This commit is contained in:
07akioni 2020-09-19 11:55:39 +08:00
parent 1eb26d8e58
commit 75434497f2

View File

@ -86,7 +86,7 @@ export default {
},
computed: {
syntheticStrokeWidth () {
const strokeWidth = this.strokeWidth
const { strokeWidth } = this
if (strokeWidth !== null) return strokeWidth
const size = this.size
return STROKE_WIDTH[size]