Files
energy_app/src/store/module/path.js
T
jiangyinzhi 04f0606430 能效诊断
2024-07-10 10:25:32 +08:00

29 lines
362 B
JavaScript

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
}