redux -toolkit内置了thunk插件,不再需要单独安装,可以直接处理异步的action。 创建store. import { configureStore } from '@reduxjs/toolkit' ...
確定! 回上一頁