Przeglądaj źródła

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

lanjianrong 5 lat temu
rodzic
commit
b9dae30544
1 zmienionych plików z 1 dodań i 1 usunięć
  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'
         })
       }
     }