mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
commit
e163a02d13
@ -1,6 +1,6 @@
|
|||||||
import LoginRedux from './reducer/Login/Login_redux.js'
|
import LoginRedux from './reducer/Login/Login_redux.js'
|
||||||
import group from './reducer/group/group.js'
|
import group from './reducer/group/group.js'
|
||||||
import Interface from './reducer/interface/interface.js'
|
import Interface from './reducer/Interface/Interface.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
group,
|
group,
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
// Interface
|
|
||||||
export const FETCH_INTERFACE_DATA = 'FETCH_INTERFACE_DATA';
|
|
||||||
|
|
||||||
// Home
|
|
||||||
export const FETCH_HOME_DATA = 'FETCH_INTERFACE_DATA';
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
FETCH_INTERFACE_DATA,
|
FETCH_INTERFACE_DATA,
|
||||||
} from '../actionTypes.js';
|
} from '../constants/action-types.js';
|
||||||
|
|
||||||
export function fetchAuditIcons () {
|
export function fetchAuditIcons () {
|
||||||
const data = [{
|
const data = [{
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Interface
|
||||||
|
export const FETCH_INTERFACE_DATA = 'FETCH_INTERFACE_DATA';
|
||||||
|
|
||||||
// group
|
// group
|
||||||
export const FETCH_GROUP_LIST = 'FETCH_GROUP_LIST'
|
export const FETCH_GROUP_LIST = 'FETCH_GROUP_LIST'
|
||||||
export const FETCH_CURR_GROUP = 'FETCH_CURR_GROUP'
|
export const FETCH_CURR_GROUP = 'FETCH_CURR_GROUP'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
FETCH_INTERFACE_DATA,
|
FETCH_INTERFACE_DATA,
|
||||||
} from '../../actionTypes.js'
|
} from '../../constants/action-types.js'
|
||||||
|
|
||||||
export default (state = 3333, action) => {
|
export default (state = 3333, action) => {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user