mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
steps test
This commit is contained in:
@@ -24,9 +24,7 @@ export default {
|
||||
const index = this.$parent.steps.indexOf(this);
|
||||
const active = this.$parent.active;
|
||||
|
||||
if (index === -1) {
|
||||
return '';
|
||||
} else if (index < active) {
|
||||
if (index < active) {
|
||||
return 'finish';
|
||||
} else if (index === active) {
|
||||
return 'process';
|
||||
|
Reference in New Issue
Block a user