Browse Source

444

master
congzc 1 year ago
parent
commit
aae86a3026
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/views/videoDownload/videoDownload.vue

+ 8
- 1
src/views/videoDownload/videoDownload.vue View File

@@ -146,7 +146,14 @@ export default {
if (!isAndroid) {
console.log('ios');
let videoData = await exportVideoApi(this.id);
that.downloadFun(videoData, that.title);
let timerId = setInterval(() => {
if (videoData) {
clearInterval(timerId);
that.downloadFun(videoData, that.title);
} else {
}
}, 1000);

// const AccessToken = localStorage.getItem('AccessToken');
// that
// .$axios({


Loading…
Cancel
Save