update 搬迁树节点页面

This commit is contained in:
2021-06-13 19:24:46 +08:00
parent 1db0ce888b
commit 39b46e7959
10 changed files with 841 additions and 33 deletions

View File

@@ -11,6 +11,25 @@ const user = (state = {}, action) => {
}
}
const layout = (state = {}, action) => {
switch (action.type) {
// 打开窗口
case 'OPEN_WINDOW':
return state
// 关闭窗口
case 'CLOSE_WINDOW':
return state
// 重新加载窗口
case 'RELOAD_WINDOW':
return state
// 侧边收起状态
case 'TOGGLE_COLLAPSED':
return state
default:
return state
}
}
const dicData = (state = {}, action) => {
switch (action.type) {
case 'ADD_DIC_DATA':
@@ -23,6 +42,7 @@ const dicData = (state = {}, action) => {
const combine = combineReducers({
user,
layout,
dicData
})