fix; bug
This commit is contained in:
@@ -10,7 +10,8 @@ export const useStorageStore = defineStore('storageStore',{
|
||||
showPreviewDetail: false,
|
||||
fileType: 'iamge',
|
||||
fileId: '',
|
||||
fileSrc: ''
|
||||
fileSrc: '',
|
||||
gettingVoiceId: ''
|
||||
}),
|
||||
getters:{
|
||||
imgObj(state){
|
||||
@@ -37,8 +38,14 @@ export const useStorageStore = defineStore('storageStore',{
|
||||
getFileSrc(state){
|
||||
return state.fileSrc
|
||||
},
|
||||
getGettingVoiceId(state){
|
||||
return state.gettingVoiceId
|
||||
},
|
||||
},
|
||||
actions:{
|
||||
setGettingVoiceId(id){
|
||||
return this.gettingVoiceId = id
|
||||
},
|
||||
setShowPreviewDetail({ status = false, fileType = 'image', fileId = '', fileSrc = '' }){
|
||||
this.showPreviewDetail = status
|
||||
this.fileId = fileId
|
||||
|
||||
Reference in New Issue
Block a user