This commit is contained in:
cookfront
2017-03-03 16:40:48 +08:00
parent b8a16cabc2
commit 05edb4a391
9 changed files with 23 additions and 21 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ export default {
computed: {
status() {
let index = this.$parent.steps.indexOf(this);
let active = this.$parent.active;
const index = this.$parent.steps.indexOf(this);
const active = this.$parent.active;
if (index === -1) {
return '';
+2 -2
View File
@@ -34,8 +34,8 @@ export default {
computed: {
computedIconClass() {
let iconName = `zan-icon-${this.icon}`;
let result = this.iconClass.split(' ');
const iconName = `zan-icon-${this.icon}`;
const result = this.iconClass.split(' ');
result.push(iconName);
return result;