[Vuejs]-How to convert an object in vue back into a standard js object?

0πŸ‘

βœ…

I think you can try:
const normalObject = JSON.parse(JSON.stringify(objectWithReactivity)).

0πŸ‘

Even try a copy using ecmascript

object_reactive
let object = {...object_reactive}

or maybe just javascript

var obj = { a: 1 };
var copy = Object.assign({}, obj);

Leave a comment