king
2019-09-25 27821f7b598e9e87de8fb179bdcbfdc5e2cb31fa
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
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
  }
}