文件大小写

This commit is contained in:
waliang.wang 2017-07-20 17:20:30 +08:00
parent eadc61abbe
commit 3516b98c96
4 changed files with 6 additions and 8 deletions

View File

@ -1,8 +1,8 @@
import LoginRedux from './reducer/Login/Login_redux.js'
import login from './reducer/Login/login.js'
import LoginRedux from './reducer/login/Login_redux.js'
import login from './reducer/login/login.js'
import group from './reducer/group/group.js'
import project from './reducer/group/project.js'
import Interface from './reducer/Interface/InterfaceReducer.js'
import Interface from './reducer/interface/InterfaceReducer.js'
import news from './reducer/news/news.js'
import addInterface from './reducer/addInterface/addInterface.js'
import user from './reducer/user/user.js'

View File

@ -40,14 +40,12 @@ class ReqMethod extends Component {
@autobind
handleChange (value) {
this.props.pushInterfaceMethod(value)
}
@autobind
getInputVal (e) {
const inputVal = e.target.value
console.log(this.props.pushInputValue)
this.props.pushInputValue(inputVal)
}

View File

@ -3,7 +3,7 @@ import 'babel-polyfill'
import thunkMiddleware from 'redux-thunk'
import promiseMiddleware from 'redux-promise';
import ReactDOM from 'react-dom'
import App from './app'
import App from './App'
import { createStore, combineReducers, applyMiddleware } from 'redux'
import { Provider } from 'react-redux'
import ReduxContainer from './ReduxContainer.js'

View File

@ -15,7 +15,7 @@ const initialState = {
inputValue: '',
tagValue: '',
headerValue: '',
methode: '',
method: '',
// 默认请求头部有一条数据
seqGroup: [
{
@ -78,7 +78,7 @@ export default (state = initialState, action) => {
case PUSH_INTERFACE_METHOD:
return {
...state,
methode: action.payload
method: action.payload
}
default:
return state