能效诊断
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
const getDefaultState = () => ({
|
||||
/**
|
||||
* 返回时所需路径
|
||||
*/
|
||||
takPath: {},
|
||||
})
|
||||
|
||||
const state = getDefaultState()
|
||||
|
||||
const mutations = {
|
||||
/**
|
||||
* 返回时所需路径
|
||||
*/
|
||||
SET_PATH: (state, data) => {
|
||||
console.log(data);
|
||||
state.takPath = data
|
||||
},
|
||||
}
|
||||
|
||||
const actions = {
|
||||
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
mutations,
|
||||
actions
|
||||
}
|
||||
Reference in New Issue
Block a user