Commit 5dd81d7b by Denglingling

修改【设备信息】为【门禁管理】

(cherry picked from commit c7fefdfb)
parent 905c0f9a
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
} from '../base/ActionTypes'; } from '../base/ActionTypes';
import { exitLoginStatus } from './LoginAction'; import { exitLoginStatus } from './LoginAction';
// 设备信息-修改状态 // 门禁管理-修改状态
export function updateDeviceStatus({access_token, ...params}) { export function updateDeviceStatus({access_token, ...params}) {
return (dispatch, getState) => { return (dispatch, getState) => {
dispatch(requestUpdate()) dispatch(requestUpdate())
......
...@@ -85,7 +85,7 @@ class HomePage extends Component { ...@@ -85,7 +85,7 @@ class HomePage extends Component {
}, },
deviceInfo: { deviceInfo: {
icon: require('../../images/device_info.png'), icon: require('../../images/device_info.png'),
title: '设备信息', title: '门禁管理',
page: 'DeviceInfoPage' page: 'DeviceInfoPage'
}, },
......
...@@ -5,9 +5,9 @@ import { ...@@ -5,9 +5,9 @@ import {
DEVICE_INFORMATION_UPDATE_FAILURE DEVICE_INFORMATION_UPDATE_FAILURE
} from '../../base/ActionTypes'; } from '../../base/ActionTypes';
// 设备信息状态 // 门禁管理状态
const defaultState = { const defaultState = {
device_info_status: DEVICE_INFORMATION_UPDATE_NO // 获取设备信息状态 device_info_status: DEVICE_INFORMATION_UPDATE_NO // 获取门禁管理状态
} }
export default deviceInfo = (state = defaultState, action) => { export default deviceInfo = (state = defaultState, action) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment