justinkames / vuejs-logger

Provides customizable logging functionality for Vue.js. Compatible with Vue2.
MIT License
245 stars 50 forks source link

typeerror undefined is not a function (evaluating 'object.assign') #11

Closed JZLeung closed 6 years ago

JZLeung commented 6 years ago

broswer: safari os: ios 8.3 i can use Object.assign normally outside, but logger.install

console.log(Object.assign({a: 1}, {b: 2}))
console.log(VueLogger.install)
try {
    Vue.use(VueLogger, options)
} catch (error) {
    console.error(error)
}

justinkames commented 6 years ago

@JZLeung

Thanks, I'm gonna look into this!