|
|
@@ -22,7 +22,8 @@ Component({
|
|
|
this.setData({
|
|
|
isAgree
|
|
|
})
|
|
|
- this.triggerEvent("callBack", isAgree)
|
|
|
+ this.triggerEvent("callBack", isAgree);
|
|
|
+ wx.setStorageSync('isAgree', isAgree);
|
|
|
},
|
|
|
checkTheAgreement() {
|
|
|
wx.showLoading({
|
|
|
@@ -33,7 +34,7 @@ Component({
|
|
|
success: (res) => {
|
|
|
wx.openDocument({
|
|
|
filePath: res.tempFilePath,
|
|
|
- success:(s)=>{
|
|
|
+ success: (s) => {
|
|
|
wx.hideLoading();
|
|
|
|
|
|
},
|