I have a data object in vue that looks like this
rows[ 0 { title: \"my title\", post: \"my post text\", public: false, info: \"some info\" }, 1 { title:
You need to take a copy of your data by cloning it. There are various ways of cloning the data, I would recommend using lodash's function, cloneDeep
cloneDeep
postDataCopy = _.cloneDeep(postData)
Then you can modify postDataCopy as you like without modifying the original.
postDataCopy