Browse Source

edit video

ctt_dev
chutingting 1 year ago
parent
commit
ab4e367271
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/pages/login/index.vue

+ 6
- 6
src/pages/login/index.vue View File

@@ -85,11 +85,11 @@ function getVideoFn() {
getVideoApi().then(res => {
videoUrl.value = res.data
nextTick(()=>{
// const video = document.querySelector("video.uni-video-video");
// video.muted = false
// video.play()
proxy.$refs.myVideo.muted = false
proxy.$refs.myVideo.play();
const video = document.querySelector("video.uni-video-video");
video.muted = false
video.play()
// proxy.$refs.myVideo.muted = false
// proxy.$refs.myVideo.play();
})
})
@@ -105,7 +105,7 @@ onMounted(() => {
})

onLoad(() => {
getVideoFn()
getVideoFn()
runGetAndroidId();
// fileReaderTest();
userInfoModulesPinia.clearStorage();


Loading…
Cancel
Save