瀏覽代碼

图列表无权限不给分享海报

jwyu 3 年之前
父節點
當前提交
230b4a90b5
共有 1 個文件被更改,包括 13 次插入11 次删除
  1. 13 11
      pages/chart/chart.vue

+ 13 - 11
pages/chart/chart.vue

@@ -48,6 +48,18 @@
         ></drag>
       </view>
       
+
+      <!-- 分享海报 -->
+      <sharePoster 
+        :style="{bottom:'250rpx'}" 
+        :shareData="{
+          type:'chart_list',
+          code_page:'pages/chart/chart',
+          code_scene:'',
+          data:shareParams
+        }"
+        v-if="showPoster"
+      ></sharePoster>
     </view>
 
     <!-- 无权限 -->
@@ -93,17 +105,7 @@
         </view>
       </van-popup>
 
-    <!-- 分享海报 -->
-    <sharePoster 
-      :style="{bottom:'250rpx'}" 
-      :shareData="{
-        type:'chart_list',
-        code_page:'pages/chart/chart',
-        code_scene:'',
-        data:shareParams
-      }"
-      v-if="showPoster"
-    ></sharePoster>
+    
 </template>
 
 <script>