liyongli 2 年之前
父节点
当前提交
c7dc9508c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/view/CalligraphyAndPaintingCompetition/index.vue

+ 1 - 1
src/view/CalligraphyAndPaintingCompetition/index.vue

@@ -119,6 +119,7 @@ function toShanshipinFunc() {
 }
 
 function tougao() {
+    if(!window.$shanshipin) return toShanshipin.value = true;
   const url = "https://ssp-api.sxtvs.com.cn/tapi/form/index.html?ChannelID=20441",
         contentId = "",
         shareTitle = "",
@@ -153,7 +154,6 @@ function tougao() {
     }
   }
 
-//   toShanshipin.value = true;
 }
 </script>
 <style lang="scss">