This commit is contained in:
左哥 2025-06-15 22:38:29 +08:00
parent 1876722bac
commit 60f4bc5913
2 changed files with 14 additions and 0 deletions

View File

@ -57,6 +57,8 @@ import { useRoute, useRouter } from 'vue-router'
import { DomEditor } from '@wangeditor/editor'
const ossurl = 'https://image-fudan.oss-cn-beijing.aliyuncs.com'
const route = useRoute()
const router = useRouter()

12
src/views/news/upload.js Normal file
View File

@ -0,0 +1,12 @@
export default uploadFile = (data) =>{
request({
url: 'https://image-fudan.oss-cn-beijing.aliyuncs.com',
method: 'get',
data
})
}