소스 검색

fix: 从客户详情跳转单位,单位性质功能异常

lanjianrong 5 년 전
부모
커밋
b9dae30544
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/EditableForm/src/useOptions.js

+ 1 - 1
src/components/EditableForm/src/useOptions.js

@@ -25,7 +25,7 @@ export default function useOptions(type) {
     if (type === typeEnum.NATUREIDS) {
       if (!store.getState().company.natures.length) {
         dispatch({
-          type: 'company/fetch'
+          type: 'company/fetchNatures'
         })
       }
     }