diff --git a/src/pages/InviteFriends/Poster.vue b/src/pages/InviteFriends/Poster.vue
index 8f03891..52d2b53 100644
--- a/src/pages/InviteFriends/Poster.vue
+++ b/src/pages/InviteFriends/Poster.vue
@@ -1,6 +1,6 @@
-
+
+
diff --git a/src/pages/InviteFriends/index.vue b/src/pages/InviteFriends/index.vue
index d57fa09..6d910e6 100644
--- a/src/pages/InviteFriends/index.vue
+++ b/src/pages/InviteFriends/index.vue
@@ -11,6 +11,7 @@ import yqhyBg from '../../static/icons/yqhy-bg.png';
import XNav from "../../components/XNav.vue";
import Api from "../../api/index.js";
import Poster from "./Poster.vue";
+import {download} from "../../utils/uils.js";
const swiperCur = ref(0);
const showActionSheet = ref(false);
@@ -39,12 +40,7 @@ const handleLongPress = (base64) => {
const success = ({type}) => {
if (type === 1) {
- const link = document.createElement('a');
- link.href = nowActive;
- link.download = '邀请海报.png';
- document.body.appendChild(link);
- link.click();
- document.body.removeChild(link);
+ download(nowActive);
}
}