mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
文件大小写
This commit is contained in:
parent
eadc61abbe
commit
3516b98c96
@ -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'
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user