Commit c50a943d by agan

xg

parent 6af641c0
Showing with 31 additions and 1 deletions
...@@ -469,6 +469,7 @@ ...@@ -469,6 +469,7 @@
isHis1: false, isHis1: false,
isHis2: false, isHis2: false,
isHis3: false, isHis3: false,
canTab: true,
} }
}, },
methods: { methods: {
...@@ -616,6 +617,10 @@ ...@@ -616,6 +617,10 @@
}, },
changeTab1(a) { changeTab1(a) {
if (!this.canTab) {
return
}
this.canTab = false;
app.tab1 = a; app.tab1 = a;
app.langShow = false; app.langShow = false;
if (a < 3) { if (a < 3) {
...@@ -637,6 +642,10 @@ ...@@ -637,6 +642,10 @@
}, },
changeTab2(a) { changeTab2(a) {
if (!this.canTab) {
return
}
this.canTab = false;
this.langShow = false; this.langShow = false;
if (a == this.tab2) { if (a == this.tab2) {
this.showHisTab = true; this.showHisTab = true;
...@@ -895,12 +904,15 @@ ...@@ -895,12 +904,15 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true;
}); });
} else { } else {
that.rankLists = [] that.rankLists = []
that.rankOther = []; that.rankOther = [];
that.canTab = true;
} }
} }
}) })
}, },
...@@ -930,10 +942,12 @@ ...@@ -930,10 +942,12 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
that.canTab = true
} }
} }
}) })
...@@ -967,8 +981,10 @@ ...@@ -967,8 +981,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1005,8 +1021,10 @@ ...@@ -1005,8 +1021,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1043,8 +1061,10 @@ ...@@ -1043,8 +1061,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1078,9 +1098,11 @@ ...@@ -1078,9 +1098,11 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.rankOther = [] that.rankOther = []
that.canTab = true
that.rankLists = [] that.rankLists = []
} }
} }
...@@ -1115,9 +1137,11 @@ ...@@ -1115,9 +1137,11 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1153,8 +1177,10 @@ ...@@ -1153,8 +1177,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1189,8 +1215,10 @@ ...@@ -1189,8 +1215,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankOther = [] that.rankOther = []
that.rankLists = [] that.rankLists = []
} }
...@@ -1223,8 +1251,10 @@ ...@@ -1223,8 +1251,10 @@
that.$forceUpdate(); that.$forceUpdate();
that.$nextTick(function () { that.$nextTick(function () {
// console.log(1); // console.log(1);
that.canTab = true
}); });
} else { } else {
that.canTab = true
that.rankLists = [] that.rankLists = []
that.rankOther = [] that.rankOther = []
...@@ -1290,7 +1320,7 @@ ...@@ -1290,7 +1320,7 @@
} }
}, },
mounted: function () { mounted: function () {
FastClick.attach(document.body); // FastClick.attach(document.body);
this.langSelectValue = this.langList[this.langType].lang5; this.langSelectValue = this.langList[this.langType].lang5;
this.getLangType(); this.getLangType();
this.hideBack(); this.hideBack();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment