瀏覽代碼

微信中 下载 之间提示到默认浏览器加载

黄琪勇 8 月之前
父節點
當前提交
92b8536181
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7 3
      src/views/creation/index-share.tsx

+ 7 - 3
src/views/creation/index-share.tsx

@@ -435,9 +435,13 @@ export default defineComponent({
         }
     })
     function handlerDownLoad(){
-      router.push({
-        path:"/transfer"
-      })
+      if(weixin){
+        wxStatus.value = true
+      }else{
+        router.push({
+          path:"/transfer"
+        })
+      }
     }
     const pageVisibility = usePageVisibility();
     watch(pageVisibility, value => {