同时启动多个动作时,存储在Angular5中被阻止

时间:2019-05-27 09:37:48

标签: angular5 ngrx

我在主页上有4个按钮。每个按钮都会创建一个动作以获取数据列表并更新状态。最终,该表将用接收到的数据进行更改。

用户决定在一秒钟内多次单击所有按钮。使用200个代码调用Api服务,但商店被阻止了。并记录一个错误。但是,当我单击NgRx Store DevTools上的commit按钮时,这些按钮还是正常的。

    zt/<.zones<@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:2192214
zt@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:2192182
I/<@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1168503
computeNextEntry@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1400799
recomputeStates@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1401095
liftReducerWith/</<@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1403514
e/d<@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1404820
amyt/a</t.prototype._tryNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1353187
amyt/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1353072
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
jxIP/l</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1512287
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
Y4Xy/r</e.prototype.observe@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1248158
qfAs/l</t.dispatch@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1868853
UeNp/a</t.prototype._execute@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1154933
+o9M/r</t.prototype.execute@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:18814
lVhe/i</t.prototype.flush@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1521266
+o9M/r</t.prototype.schedule@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:18687
lVhe/o</e.prototype.schedule@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1520765
qfAs/l</t.prototype.scheduleMessage@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1868935
qfAs/l</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1869040
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
TgNg/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1145916
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
HEz8/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:842868
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
TgNg/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1145916
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
oITr/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1778124
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
miYR/p</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1677936
unWw/s</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1955255
VaQL/v</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1167317
VaQL/q</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1171911
FM+J/u</t.prototype.__tryOrUnsub@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:773843
FM+J/u</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:773118
FM+J/l</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:772193
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
TgNg/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1145916
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
Y4Xy/r</e.prototype.observe@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1248158
GhXO/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:834203
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
jboT/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1510932
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
HEz8/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:842868
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
YvLQ/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1282205
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
TgNg/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1145916
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
HEz8/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:842868
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
7ynP/l</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:480770
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
o90U/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1771790
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
FM+J/l</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:772193
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
HEz8/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:842868
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
HEz8/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:842868
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
jboT/a</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1510932
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
TgNg/l</t.prototype.notifyNext@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:1145916
0yTW/c</t.prototype._next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:122295
FM+J/l</t.prototype.next@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:771876
u@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:438418
0TWp/</</u</t.prototype.invokeTask@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:8742
onInvokeTask@http://127.0.0.1/main.2023d99ffe4b4f71ea3b.js:1:304965
0TWp/</</u</t.prototype.invokeTask@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:8655
0TWp/</</i</e.prototype.runTask@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:3914
0TWp/</</c</e.invokeTask@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:9860
m@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:20829
b@http://127.0.0.1/polyfills.eb64eb1254a64be13b72.js:1:21073
 main.2023d99ffe4b4f71ea3b.js:1:1400830

0 个答案:

没有答案