Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Feb 23, 2020
2 parents 70f7520 + 17c3753 commit 1d3fb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Component from './upload-to-ali.vue'
// the same plugin more than once,
// so calling it multiple times on the same plugin
// will install the plugin only once
Component.install = (Vue, opts) => {
Component.install = (Vue, opts = {}) => {
if (opts.request) {
Vue.prototype.$uploadRequest = opts.request
}
Expand Down

0 comments on commit 1d3fb14

Please sign in to comment.