JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_修改图片滑动问题
This commit is contained in:
@@ -12,6 +12,7 @@ export const useStorageStore = defineStore('storageStore',{
|
||||
fileType: 'iamge',
|
||||
fileId: '',
|
||||
fileSrc: '',
|
||||
fileSrcList: [],
|
||||
gettingVoiceId: ''
|
||||
}),
|
||||
getters:{
|
||||
@@ -39,6 +40,9 @@ export const useStorageStore = defineStore('storageStore',{
|
||||
getFileSrc(state){
|
||||
return state.fileSrc
|
||||
},
|
||||
getFileSrcList(state){
|
||||
return state.fileSrcList
|
||||
},
|
||||
getGettingVoiceId(state){
|
||||
return state.gettingVoiceId
|
||||
},
|
||||
@@ -47,11 +51,12 @@ export const useStorageStore = defineStore('storageStore',{
|
||||
setGettingVoiceId(id){
|
||||
return this.gettingVoiceId = id
|
||||
},
|
||||
setShowPreviewDetail({ status = false, fileType = 'image', fileId = '', fileSrc = '' }){
|
||||
setShowPreviewDetail({ status = false, fileType = 'image', fileId = '', fileSrc = '', fileSrcList = [] }){
|
||||
this.showPreviewDetail = status
|
||||
this.fileId = fileId
|
||||
this.fileType = fileType
|
||||
this.fileSrc = fileSrc
|
||||
this.fileSrcList = fileSrcList
|
||||
},
|
||||
setTouchBtnZIndex(index = 12){
|
||||
this.touchBtnZIndex = index
|
||||
|
||||
Reference in New Issue
Block a user