save data on refresh vuex code example Example: when i hit save button my page gets refresh but data into goes to server in vue.js type="button"