This commit is contained in:
JimQing 2020-05-02 15:55:28 +08:00
parent 7aae308859
commit 0abb90cb4f
2 changed files with 2 additions and 2 deletions

View File

@ -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)
})

View File

@ -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