Created
February 3, 2017 15:26
-
-
Save gjreasoner/8466ff8ad5d2b8f46d8b3b7c798bf4ed to your computer and use it in GitHub Desktop.
Strip vue observer data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('name',{ | |
methods: { | |
post(){ | |
let data = Object.assign({},this.$data); | |
console.log(data); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment