mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
bug fix
This commit is contained in:
parent
7aae308859
commit
0abb90cb4f
@ -131,7 +131,7 @@ export default {
|
||||
data.append('file', pasteFile)
|
||||
|
||||
fileApi.fileUpload(data).then(res => {
|
||||
this.uploaded(resp.data)
|
||||
this.uploaded(res.data)
|
||||
}).catch(err => {
|
||||
console.log(err.message)
|
||||
})
|
||||
|
@ -35,7 +35,7 @@ Vue.use(Col)
|
||||
Vue.use(Row)
|
||||
Vue.use(Dialog)
|
||||
Vue.use(Loading)
|
||||
Vue.use(Message)
|
||||
Vue.component(Message.name, Message)
|
||||
|
||||
Vue.prototype.$loading = Loading.service
|
||||
Vue.prototype.$message = Message
|
||||
|
Loading…
Reference in New Issue
Block a user