@@ -82,6 +82,12 @@
},
switchTab(path, index) {
+
+ if (index == this.currentTab) {
+ // 同页面不刷新
+ return;
+ }
if (path !== '/pages/game/index') {
this.currentTab = index;
}