update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user