This commit is contained in:
zhuxiang
2017-03-01 15:51:31 +08:00
parent dc2d685a34
commit a9b4b6a27b
5 changed files with 22 additions and 20 deletions
+3 -3
View File
@@ -30,10 +30,10 @@ export default {
}
},
computed: {
classNames () {
classNames() {
return {
'is-select': this.mark == this.$parent.computedActiveKey ? true : false
}
'is-select': this.mark === this.$parent.computedActiveKey
};
}
}
};