king
2019-10-12 c7f79abded9ad2e29f297da4a04a641b96b61c5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import * as user from './action-type'
 
// 展开合并菜单栏
export const toggleCollapse = (collapse) => {
  return {
    type: user.Toggle_COLLAPSE,
    collapse
  }
}
 
// 切换主菜单
export const modifyMainMenu = (selectedMainMenu) => {
  return {
    type: user.MODIFY_MAINMENU,
    selectedMainMenu
  }
}
 
// 修改导航栏菜单
export const modifyTabview = (tabviews) => {
  return {
    type: user.MODIFY_TABVIEW,
    tabviews
  }
}
 
// 修改窗口样式,区分iframe与正常页面
export const toggleIsiframe = (isiframe) => {
  return {
    type: user.TOGGLE_ISIFRAME,
    isiframe
  }
}
 
// 退出系统时参数重置
export const resetState = () => {
  return {
    type: user.RESET_STATE
  }
}
 
// 退出系统时参数重置
export const resetDebug = () => {
  return {
    type: user.RESET_DEBUG
  }
}