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

@@ -4,7 +4,7 @@ import { Auth, Container, QueryTable } from 'components'
import { api } from 'common/api'
import { toCamelCase } from 'util/format'
import { isEqual } from 'lodash'
import getDicData from 'util/dic'
import getDictData from 'util/dic'
import moment from 'moment'
const { RangePicker } = DatePicker;
@@ -80,7 +80,7 @@ export default class index extends Component {
*/
componentDidMount() {
this.table.current.onLoading()
getDicData('vis_type').then(res => {
getDictData('vis_type').then(res => {
this.setState({
codes: res
}, () => {