未验证 提交 89bb7b85 编写于 作者: P Phil Hughes

fixed eslint inconsistent return

上级 bead083c
......@@ -35,8 +35,7 @@ export default {
updated() {
if (!this.$refs.tabsScroller) return;
this.showShadow =
this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth;
this.showShadow = this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth;
},
methods: {
...mapActions(['updateViewer', 'removePendingTab']),
......@@ -48,6 +47,8 @@ export default {
router.push(`/project${this.activeFile.url}`);
});
}
return null;
},
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册