congzc 2 anni fa
parent
commit
aae86a3026
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. +8
    -1
      src/views/videoDownload/videoDownload.vue

+ 8
- 1
src/views/videoDownload/videoDownload.vue Vedi 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({


Caricamento…
Annulla
Salva