feat: 更新视频播放功能
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user