Explorar el Código

日度点评分享图片

jwyu hace 2 años
padre
commit
a31a983cc3
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      pages-report/reportDetail.vue

+ 3 - 2
pages-report/reportDetail.vue

@@ -1,5 +1,5 @@
 <template>
-    <web-view :src="url" @message="handleGetMessage"/></web-view>
+    <web-view :src="url" @message="handleGetMessage"></web-view>
 </template>
 
 <script>
@@ -19,7 +19,8 @@ export default {
     onShareAppMessage() {
         return {
             title:this.msgObj.title,
-            path:`/pages-report/reportDetail?reportId=${this.msgObj.reportId}`
+            path:`/pages-report/reportDetail?reportId=${this.msgObj.reportId}`,
+            imageUrl:this.msgObj.shareImg||''
         }
     },
     methods: {