JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_fix: bug

This commit is contained in:
杨航
2026-03-12 19:14:57 +08:00
parent 64c7ef9329
commit 4ccc9e8d7e
2 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ ENV = 'development'
#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' #VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003' VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# DEV # DEV
#VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' #VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
@@ -50,6 +50,9 @@
getToken getToken
} from '@/common/common.js' } from '@/common/common.js'
import IVideo from './i-video.vue' import IVideo from './i-video.vue'
import {
getPhoneEnvBool
} from '@/common/common.js';
export default { export default {
name: "video-preview", name: "video-preview",
components: { components: {
@@ -78,7 +81,8 @@
videoContext: null, videoContext: null,
base_url: get_base_url(), base_url: get_base_url(),
scale: 1, scale: 1,
currentIndex: 0 currentIndex: 0,
IsAndEnv: getPhoneEnvBool('AND')
}; };
}, },
computed: { computed: {
@@ -109,6 +113,13 @@
}, },
token() { token() {
return getToken() return getToken()
},
videoSrc(){
if(this.IsAndEnv){
return this.fileUrlShow
}else{
return 'https://cms-emer-res.cctvnews.cctv.com/video/1005/p/39450b1263cf4be8b258bdf38995d2fb-023f0694178843bca3845de46aca7bbf-4.mp4'
}
} }
}, },
watch: { watch: {
@@ -159,7 +170,7 @@
} }
} }
} }
// https://cms-emer-res.cctvnews.cctv.com/video/1005/p/39450b1263cf4be8b258bdf38995d2fb-023f0694178843bca3845de46aca7bbf-4.mp4 //
this.videoContext = uni.createVideoContext(`video` + this.fileId) this.videoContext = uni.createVideoContext(`video` + this.fileId)
}, },
initSrc(newval, oldval) { initSrc(newval, oldval) {