Files
freeCodeCamp/guide/chinese/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md

13 lines
245 B
Markdown
Raw Normal View History

---
title: Dispatch an Action Event
localeTitle: 派遣行动事件
---
## 派遣行动事件
通过调用dispatch方法将LOGIN操作发送到Redux存储并传入`loginAction()`创建的操作。
```js
store.dispatch(loginAction());
```