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