From f5e903315ff5ae32a1b586b3421e3558a3a6b922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= Date: Wed, 26 Feb 2020 22:02:44 +0800 Subject: [PATCH] =?UTF-8?q?GFRS-615=20=E9=97=AE=E5=8D=B7=E8=B0=83=E6=9F=A5?= =?UTF-8?q?VUE=20=E5=88=86=E4=BA=AB=E8=AE=A1=E6=95=B0=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20--=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A?= =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/survey/SurveyList.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/ebiz/survey/SurveyList.vue b/src/views/ebiz/survey/SurveyList.vue index 9a71a3008..e33a0359f 100644 --- a/src/views/ebiz/survey/SurveyList.vue +++ b/src/views/ebiz/survey/SurveyList.vue @@ -121,20 +121,20 @@ export default { } }, created() { - setTimeout(() => {}, 1000) //添加延时处理-安卓无法获取appCallBack 对象 + //setTimeout(() => {}, 1000) //添加延时处理-安卓无法获取appCallBack 对象 // 初始化 - window['appCallBack'] = this.appCallBack + // window['appCallBack'] = this.appCallBack // 获取表单列表 this.getSurveyList() }, methods: { - appCallBack(data) { + /*appCallBack(data) { if (data.trigger == 'weixin_share') { console.log('点击了分享') // 回调 保存分享 this.saveShareInfo() } - }, + },*/ // 分享到朋友圈 async shareFriends() { let that = this @@ -142,6 +142,8 @@ export default { await that.getSurveyTableId() // 调用原生分享 this.callApp() + //保存分享数据 + this.saveShareInfo() }, // 获取代理人下问卷调查信息 getSurveyList() {