feat: 更新视频播放功能

This commit is contained in:
2026-09-10 18:58:31 +08:00
parent f7220fd98c
commit d43d61e6fb
3 changed files with 18 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ export const useRecordStore = defineStore('record', {
} as IRecordForm,
currentRecordId: 0,
showRecordPopup: false,
isRefresh: false,
recordApiType: 'ADD' as 'ADD' | 'UPDATE' | 'DELETE',
imageFileList: [] as UploadFile[],
videoFileList: [] as UploadFile[],
@@ -28,7 +29,7 @@ export const useRecordStore = defineStore('record', {
await this.deleteRecordApi()
}
await this.refreshRecord()
this.isRefresh = !this.isRefresh
},
async refreshRecord() {
this.recordList = await this.getRecordListApi()