no message
This commit is contained in:
15
store/index.js
Normal file
15
store/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// store/index.js
|
||||
export const state = () => ({
|
||||
list: [],
|
||||
info: {},
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
// updateList(state, data) {
|
||||
// state.list = data
|
||||
// },
|
||||
updateInfo(state, data) {
|
||||
// console.log("state",);
|
||||
state.info = data
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user