steps test

This commit is contained in:
cookfront
2017-04-18 16:43:55 +08:00
parent 75542374de
commit b68740a39b
3 changed files with 55 additions and 3 deletions

View File

@@ -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';