shaogen1995 94955fec5c up пре 4 месеци
..
public 9e354409da up пре 5 месеци
src 22d61e2dfb 离线版路径添加 пре 4 месеци
.gitignore 11ff52094c 'init' пре 1 година
README.md 94955fec5c up пре 4 месеци
config-overrides.js 11ff52094c 'init' пре 1 година
package-lock.json 11ff52094c 'init' пре 1 година
package.json 280516a162 feat: -- пре 1 година
path.tsconfig.json 11ff52094c 'init' пре 1 година
tsconfig.json 11ff52094c 'init' пре 1 година
yarn.lock 280516a162 feat: -- пре 1 година

README.md

本地运行:静态资源里面先运行一个服务 使用 http-server 确保服务地址是:http://127.0.0.1:8080


------ts版本类型问题-------

找到 import { useDispatch } from "react-redux";

按住 Ctrl 点击 useDispatch 出来 useDispatch.d.ts类型声明文件 (路径node_modules>react-redux>es>hooks>useDispatch.d.ts)

找到最后面的 AnyAction,按住 Ctrl 点击 进入 (路径node_modules>redux>index.d.ts)

找到 export interface Action { type: T }

在type后面加一个 ? 即=>

export interface Action { type?: T }

离线版 搜索 本地化 来配置