报错:Could not find “store” in the context of “Connect(list)”. Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to Connect(list) in connect options.
原因:没有安装dva-cli
打开命令窗,通过 npm 安装 dva-cli
$ npm install dva-cli -g
$ dva -v