update
This commit is contained in:
@@ -620,4 +620,13 @@ export const del_link = (data) => dispatch => {
|
||||
}
|
||||
export const sw_link_active = (data) => dispatch => {
|
||||
dispatch(link_api('/api/link/swlinkactive', data));
|
||||
}
|
||||
|
||||
export const get_dashboard = () => dispatch => {
|
||||
return fetch('/api/system/dashboard', getRequest())
|
||||
.then(response => response.json())
|
||||
.then(json => {
|
||||
if(json.status != 1) return dispatch(add_dialog_msg(json.message));
|
||||
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user