版本升级

This commit is contained in:
gyq
2025-05-26 15:19:54 +08:00
parent a43b7ad2f8
commit 90ecd6621d
3 changed files with 11 additions and 5 deletions

View File

@@ -1036,8 +1036,14 @@ function videoListUpdata() {
/**
* @param {type} = [start,end]
*/
const playStatusChange = debounce((data) => {
Api.playStatus(data);
const playStatusChange = debounce(async (data) => {
try {
const res = await Api.playStatus(data);
console.log('playStatusChange.res', res);
} catch (error) {
console.log('playStatusChange.error', error);
emits('errorHandle', error);
}
}, 2000);
defineExpose({