bug solved | export 'default' was not found in 'xxx'

bug solved | export 'default' was not found in 'xxx'_第1张图片


原因:export 导出不止一个 需要用花括号解构出自己想要的


例如:

import Provider from 'mobx-react'

改为

import {Provider} from 'mobx-react'

你可能感兴趣的:(bug修复)