This commit is contained in:
cookfront
2017-03-31 11:00:34 +08:00
parent 6ffe94bd4c
commit e68568b61f

View File

@@ -57,7 +57,7 @@
* `type`为`line`时tab下方的横线的样式 * `type`为`line`时tab下方的横线的样式
*/ */
navBarStyle() { navBarStyle() {
if (!this.isReady || type !== 'line') return; if (!this.isReady || this.type !== 'line') return;
const tabKey = this.curActive; const tabKey = this.curActive;
const elem = this.$refs.tabkey[tabKey]; const elem = this.$refs.tabkey[tabKey];