feat(Steps): active can be string

This commit is contained in:
陈嘉涵
2020-01-30 10:21:41 +08:00
parent b24fd2bb48
commit 0738f3baac
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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';
}
},