From 8f22bdc93c5a881c827bbf5eeb63044d829576a2 Mon Sep 17 00:00:00 2001 From: GzhiYi Date: Tue, 5 May 2020 11:32:49 +0800 Subject: [PATCH] feat: add gradient support. --- src/vue-progressbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vue-progressbar.vue b/src/vue-progressbar.vue index 09c820b..b4ed351 100644 --- a/src/vue-progressbar.vue +++ b/src/vue-progressbar.vue @@ -19,7 +19,7 @@ export default { const isShow = !!options.show const location = options.location const style = { - 'background-color': options.canSuccess ? options.color : options.failedColor, + 'background': options.canSuccess ? options.color : options.failedColor, 'opacity': options.show ? 1 : 0, 'position': options.position }