Skip to content

Commit

Permalink
修改提示
Browse files Browse the repository at this point in the history
  • Loading branch information
playmyswift committed Mar 5, 2018
1 parent 849e3c1 commit b1e8929
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/components/SMEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export default {
const imgUrl = self.config.uploadCallback('')
success(imgUrl)
}
alert('upload failed!')
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const config = {
// 上传失败回调, 可选
uploadFailed: (err) => {
console.log(err + '仅供测试, 并非真正上传')
alert('仅供测试, 并非真正上传!')
}
}
Expand Down

0 comments on commit b1e8929

Please sign in to comment.