feat:增加图片存储模式
This commit is contained in:
@@ -118,7 +118,7 @@ const initImageFileList = () => {
|
||||
if (imageUrl) {
|
||||
imageFileList.value.push({
|
||||
name: 'image',
|
||||
url: `${AListUrl}${imageUrl}`
|
||||
url: imageUrl
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -132,7 +132,7 @@ const httpRequest: UploadProps['httpRequest'] = async (options: UploadRequestOpt
|
||||
}
|
||||
|
||||
const handleSuccess = (response: string) => {
|
||||
ledgerStore.currentLedgerRecord.imageUrl = `p${response}`
|
||||
ledgerStore.currentLedgerRecord.imageUrl = response
|
||||
}
|
||||
|
||||
const handleExceed: UploadProps['onExceed'] = () => {
|
||||
|
||||
Reference in New Issue
Block a user