|
@@ -27,6 +27,7 @@
|
|
|
</van-row>
|
|
|
</template>
|
|
|
<script setup>
|
|
|
+import { Toast } from "vant";
|
|
|
// import { reactive } from "vue";
|
|
|
/**
|
|
|
* window.$originData.orginParames.title 页面标题
|
|
@@ -52,7 +53,7 @@ function download() {
|
|
|
});
|
|
|
const url = getDownloadUrl();
|
|
|
if (isIpad || isIpod || isIphone) return location.href = url;
|
|
|
- if (isWechat) return document.querySelector(".weixin").setAttribute("style", "display: block");
|
|
|
+ if (isWechat) return Toast("请在浏览器打开下载app");
|
|
|
location.href = url;
|
|
|
}, 200);
|
|
|
}
|