button.js 200 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 const buttonVal = { state: { buttonValData: '' }, mutations: { CHANGE_BUTTON: (state, val) => { state.buttonValData=val; } }, actions: { } } export default buttonVal