|
|
@@ -103,7 +103,7 @@ import PaginationPage from '@/components/PaginationPage.vue';
|
|
|
import AudioLine from '@/views/personal_workbench/project/components/AudioLine.vue';
|
|
|
|
|
|
import { PageQueryProjectResourceList } from '@/api/list';
|
|
|
-import { H5StartupFile, GetFileURLMap } from '@/api/app';
|
|
|
+import { H5StartupFile } from '@/api/app';
|
|
|
|
|
|
const Base64 = require('js-base64').Base64;
|
|
|
import { getConfig } from '@/utils/auth';
|
|
|
@@ -333,10 +333,8 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
} else {
|
|
|
- GetFileURLMap({ file_id_list: [file.file_id] }).then(({ url_map }) => {
|
|
|
- this.newpath = `${this.file_preview_url}onlinePreview?url=${Base64.encode(url_map[file.file_id])}`;
|
|
|
- this.visible_flag = true;
|
|
|
- });
|
|
|
+ this.newpath = `${this.file_preview_url}onlinePreview?url=${Base64.encode(file.file_url)}`;
|
|
|
+ this.visible_flag = true;
|
|
|
}
|
|
|
},
|
|
|
},
|