@@ -112,6 +112,7 @@ Page({
setIndex({
detail
}) {
+ if(detail==this.data.tabsIndex) return;
this.setData({
tabsIndex: detail
});