视频播放优化
This commit is contained in:
parent
a0cde5643e
commit
da473035d8
|
|
@ -61,10 +61,13 @@
|
||||||
ref,
|
ref,
|
||||||
watch
|
watch
|
||||||
} from 'vue'
|
} from 'vue'
|
||||||
let loop=ref(false)
|
|
||||||
|
|
||||||
|
let loop = ref(false)
|
||||||
// #ifdef APP
|
// #ifdef APP
|
||||||
loop.value=true
|
loop.value = true
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|
@ -227,7 +230,6 @@
|
||||||
|
|
||||||
|
|
||||||
function ended() {
|
function ended() {
|
||||||
isPlying.value = false
|
|
||||||
sendPlayStatus('end')
|
sendPlayStatus('end')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,6 @@ let loop=ref(false)
|
||||||
|
|
||||||
function ended() {
|
function ended() {
|
||||||
sendPlayStatus('end')
|
sendPlayStatus('end')
|
||||||
isPlying.value=false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dianzanClick() {
|
function dianzanClick() {
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,6 @@
|
||||||
|
|
||||||
|
|
||||||
function ended() {
|
function ended() {
|
||||||
isPlying.value = false
|
|
||||||
sendPlayStatus('end')
|
sendPlayStatus('end')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue