2👍
✅
I don’t have IE to test in right this moment, but It’s probably the object syntax you’re using. Rather than {...this.finalModel, ...model}
, this.finalModel = Object.assign({}, this.finalModel, model)
will work in Edge, and you could provide an Object.assign
polyfill for IE. Or you could make sure your config is set to compile down for IE and Edge. If you’re using vue-cli
, check the browser compatibility page for information on configuring browser support.
Source:stackexchange.com