mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
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