瀏覽代碼

Fix bug where name of component in vuex was hard coded rather than set dynamically

sbkwgh 8 年之前
父節點
當前提交
4cbc9e3b02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TabView.vue

+ 1 - 1
src/components/TabView.vue

@@ -31,7 +31,7 @@
 			changeTab (index) {
 				this.$store.commit({
 					type: 'setTab',
-					tab: 'account',
+					tab: this.name,
 					index: index
 				});
 			}