|
@@ -56,8 +56,7 @@
|
56
|
56
|
<!--<!– <router-link to="/privacyPolicy"> –>-->
|
57
|
57
|
<!--<!– </router-link> –>-->
|
58
|
58
|
<!--</div>-->
|
59
|
|
- <span class="agreeText" @click="agree()">《隐私服务协议》</span>
|
60
|
|
-
|
|
59
|
+ <span class="agreeText" @click.native="agree">《隐私服务协议》</span>
|
61
|
60
|
|
62
|
61
|
</div>
|
63
|
62
|
</div>
|
|
@@ -135,7 +134,7 @@ export default {
|
135
|
134
|
});
|
136
|
135
|
},
|
137
|
136
|
to: function() {
|
138
|
|
- this.$router.push({ path: "/privacy" });
|
|
137
|
+ this.$router.push({ path: "/forgetPassword" });
|
139
|
138
|
},
|
140
|
139
|
submitForm() {
|
141
|
140
|
const self = this;
|
|
@@ -219,9 +218,11 @@ export default {
|
219
|
218
|
//清除cookie
|
220
|
219
|
clearCookie: function() {
|
221
|
220
|
this.setCookie("", "", -1); //修改2值都为空,天数为负1天就好了
|
222
|
|
- }, agree() {
|
223
|
|
- this.$router.push({ path: "/privacy" });
|
224
|
|
-
|
|
221
|
+ },
|
|
222
|
+ agree() {
|
|
223
|
+ this.$nextTick(() => {
|
|
224
|
+ this.$router.push({ path: "/privacy" });
|
|
225
|
+ })
|
225
|
226
|
}
|
226
|
227
|
}
|
227
|
228
|
};
|