Skip to content

Commit 44e7dd4

Browse files
committed
feat(progress): add status switching support
1 parent f8b8a95 commit 44e7dd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/progress.vue

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
percentage (newVal) {
116116
if (this.$slots.default) return
117117
this.st = newVal === 100 ? 'success' : this.status
118+
},
119+
status (newVal) {
120+
this.st = newVal
118121
}
119122
},
120123

0 commit comments

Comments
 (0)