课程详情课件下载

This commit is contained in:
unknown 2023-07-30 15:52:03 +08:00
parent 457fb0a067
commit 061e9a7057

View File

@ -118,7 +118,6 @@ const CoursePage = () => {
const downLoadFile = (cid: number, id: number) => {
vod.downloadAttachment(cid, id).then((res: any) => {
if (isWechat()) {
Toast.show("请点击右上角···浏览器打开下载");
var input = document.createElement("input");
input.value = res.data.download_url;
document.body.appendChild(input);