king
2020-03-16 8eb9303af35b6bee86daaa9ff478b623516fc183
src/store/action.js
@@ -68,4 +68,21 @@
    type: user.RESET_EDITLEVEL,
    editLevel
  }
}
// 初始化按钮权限及创建存储过程可用字段
export const initPermission = (permRoles, permAction, permFuncField) => {
  return {
    type: user.INIT_PERMISSION,
    permRoles: permRoles,
    permAction: permAction,
    permFuncField: permFuncField
  }
}
// 退出重置
export const logout = () => {
  return {
    type: user.LOGOUT
  }
}