redux 怎么在組件中獲取dispatch
1 回答

慕尼黑5688855
TA貢獻1848條經驗 獲得超2個贊
創建一個 action,并且給一個標識,比如 isAPI = true 在 router 的 onEnter 中 dispatch 這個 act
- 1 回答
- 0 關注
- 734 瀏覽
添加回答
舉報
0/150
提交
取消