mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[improvement] update eslint config (#2288)
This commit is contained in:
@@ -37,11 +37,12 @@ export default create({
|
||||
computed: {
|
||||
status() {
|
||||
const index = this.$parent.steps.indexOf(this);
|
||||
const active = this.$parent.active;
|
||||
const { active } = this.$parent;
|
||||
|
||||
if (index < active) {
|
||||
return 'finish';
|
||||
} else if (index === active) {
|
||||
}
|
||||
if (index === active) {
|
||||
return 'process';
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user