|
@@ -153,8 +153,8 @@ var _default = {
|
|
return {
|
|
return {
|
|
openid: '',
|
|
openid: '',
|
|
form: {},
|
|
form: {},
|
|
-
|
|
+
|
|
- agree: true,
|
|
+ agree: false,
|
|
|
|
|
|
user: {},
|
|
user: {},
|
|
|
|
|
|
@@ -405,15 +405,14 @@ var _default = {
|
|
|
|
|
|
changeAgree: function changeAgree() {
|
|
changeAgree: function changeAgree() {
|
|
var that = this;
|
|
var that = this;
|
|
- var agree = true;
|
|
+ var agree = !that.agree;
|
|
- if (that.agree) agree = false;
|
|
|
|
that.$set(that, "agree", agree);
|
|
that.$set(that, "agree", agree);
|
|
},
|
|
},
|
|
|
|
|
|
toAgree: function toAgree() {
|
|
toAgree: function toAgree() {
|
|
var that = this;
|
|
var that = this;
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: "/pagesOther/other/agree"
|
|
+ url: "/pagesIndex/other/agree"
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|