update 整改reducer

This commit is contained in:
2021-06-16 16:32:09 +08:00
parent 7d0000e602
commit cad86cf7a5
21 changed files with 96 additions and 97 deletions

View File

@@ -5,7 +5,7 @@ import { api } from 'common/api'
import auth from 'components/authorized/handler'
import { toCamelCase } from 'util/format'
import { isEqual } from 'lodash'
import getDicData from 'util/dic'
import getDictData from 'util/dic'
import FormBody from './form'
const apiAction = {
@@ -118,7 +118,7 @@ export default class index extends Component {
*/
componentDidMount() {
this.table.current.onLoading()
getDicData('dic_areacode_type').then(res => {
getDictData('dic_areacode_type').then(res => {
this.setState({
codes: res
}, () => {