feat:增加图片存储模式
This commit is contained in:
@@ -157,7 +157,7 @@ const initFileList = () => {
|
||||
if (imageUrl) {
|
||||
imageFileList.value.push({
|
||||
name: 'image',
|
||||
url: `${AListUrl}${imageUrl}`
|
||||
url: imageUrl
|
||||
})
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ const httpImageRequest: UploadProps['httpRequest'] = async (options: UploadReque
|
||||
}
|
||||
|
||||
const handleImageSuccess = (response: string) => {
|
||||
journalStore.currentJournal.imageUrl = `p${response}`
|
||||
journalStore.currentJournal.imageUrl = response
|
||||
}
|
||||
|
||||
const handleImageExceed: UploadProps['onExceed'] = () => {
|
||||
|
||||
Reference in New Issue
Block a user