From 75434497f202060fdac6dae32505e91778e7f4de Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Sat, 19 Sep 2020 11:55:39 +0800 Subject: [PATCH] refactor(spin): support vue3 --- src/spin/src/Spin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spin/src/Spin.vue b/src/spin/src/Spin.vue index 3c46e2232..c18f66f3d 100644 --- a/src/spin/src/Spin.vue +++ b/src/spin/src/Spin.vue @@ -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]