feat(Steps): active can be string
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ export default createComponent({
|
||||
if (this.index < this.parent.active) {
|
||||
return 'finish';
|
||||
}
|
||||
if (this.index === this.parent.active) {
|
||||
if (this.index === +this.parent.active) {
|
||||
return 'process';
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user