JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_fix: bug
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ ENV = 'development'
|
||||
#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
|
||||
#VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
|
||||
@@ -50,6 +50,9 @@
|
||||
getToken
|
||||
} from '@/common/common.js'
|
||||
import IVideo from './i-video.vue'
|
||||
import {
|
||||
getPhoneEnvBool
|
||||
} from '@/common/common.js';
|
||||
export default {
|
||||
name: "video-preview",
|
||||
components: {
|
||||
@@ -78,7 +81,8 @@
|
||||
videoContext: null,
|
||||
base_url: get_base_url(),
|
||||
scale: 1,
|
||||
currentIndex: 0
|
||||
currentIndex: 0,
|
||||
IsAndEnv: getPhoneEnvBool('AND')
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -109,6 +113,13 @@
|
||||
},
|
||||
token() {
|
||||
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: {
|
||||
@@ -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)
|
||||
},
|
||||
initSrc(newval, oldval) {
|
||||
|
||||
Reference in New Issue
Block a user