JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_fix: bug
This commit is contained in:
@@ -473,7 +473,6 @@
|
||||
|
||||
const previewVideo = async (obj) => {
|
||||
const IsAndEnv = getPhoneEnvBool('AND');
|
||||
if (IsAndEnv) {
|
||||
storageStore.setShowPreviewDetail({
|
||||
status: true,
|
||||
fileType: 'video',
|
||||
@@ -481,21 +480,29 @@
|
||||
isBase: false,
|
||||
fileSrc: obj.vidAddr
|
||||
})
|
||||
} else {
|
||||
common.loading('加载中');
|
||||
try {
|
||||
const _res = await downloadFile('', obj.vidAddr)
|
||||
storageStore.setShowPreviewDetail({
|
||||
status: true,
|
||||
fileType: 'video',
|
||||
fileId: '',
|
||||
isBase: _res.tempFilePath ? true : false,
|
||||
fileSrc: _res.tempFilePath || obj.vidAddr
|
||||
})
|
||||
} catch {} finally {
|
||||
common.hideLoading();
|
||||
}
|
||||
}
|
||||
// if (IsAndEnv) {
|
||||
// storageStore.setShowPreviewDetail({
|
||||
// status: true,
|
||||
// fileType: 'video',
|
||||
// fileId: '',
|
||||
// isBase: false,
|
||||
// fileSrc: obj.vidAddr
|
||||
// })
|
||||
// } else {
|
||||
// common.loading('加载中');
|
||||
// try {
|
||||
// const _res = await downloadFile('', obj.vidAddr)
|
||||
// storageStore.setShowPreviewDetail({
|
||||
// status: true,
|
||||
// fileType: 'video',
|
||||
// fileId: '',
|
||||
// isBase: _res.tempFilePath ? true : false,
|
||||
// fileSrc: _res.tempFilePath || obj.vidAddr
|
||||
// })
|
||||
// } catch {} finally {
|
||||
// common.hideLoading();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
const previewImage = (obj, arr = []) => {
|
||||
storageStore.setShowPreviewDetail({
|
||||
|
||||
Reference in New Issue
Block a user