This commit is contained in:
王一嘉
2025-07-14 18:05:57 +08:00
parent d68450709b
commit 62fd756962
2 changed files with 14 additions and 12 deletions

View File

@@ -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);
}
}
</script>