From e5da57364e65b2660fad232c9b4203f6084cc2ac Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Tue, 6 Jul 2021 13:17:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B4=BA=E5=B7=9E=E5=AD=A6=E5=B9=B3?= =?UTF-8?q?=E9=99=A9=E6=B5=B7=E6=8A=A5=E4=BA=A7=E5=93=81=E3=80=91=20?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/poster/PosterPreview.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/ebiz/poster/PosterPreview.vue b/src/views/ebiz/poster/PosterPreview.vue index 8b1d519b2..86657411f 100644 --- a/src/views/ebiz/poster/PosterPreview.vue +++ b/src/views/ebiz/poster/PosterPreview.vue @@ -49,7 +49,9 @@ export default { showBut:false, showDialog: false, schoolName:"", - className:"" + className:"", + isShareLimit:'', + shareLimitDesc:'' } }, async created() { @@ -64,6 +66,9 @@ export default { }, methods: { shareFriends() { + if(this.isShareLimit=='1'){ + this.$toast(this.shareLimitDesc) + }else{ // eslint-disable-next-line no-undef EWebBridge.webCallAppInJs('bridge', { flag: 'share', @@ -72,6 +77,7 @@ export default { img: this.imgUrl } }) + } }, async getPosterDetail() { return new Promise((resolve, reject) => { @@ -92,6 +98,8 @@ export default { if(res.infoDTOList[0].isLearn=='0'){ this.showBut=true; } + this.isShareLimit =res.isShareLimit + this.shareLimitDesc=res.shareLimitDesc resolve() } else { reject()