我们看到这个:
TypeError: Cannot read properties of undefined (reading 'finally')
at n.perspectiveSave (https://REDACTED/assets/plugins/discourse-perspective-api-12d54e93711215e76c0e9e41ddcbaff5276b541b4db8c82f8731e6544a60b4c6.js:1:1041)
这似乎是因为在链中的前一个函数在各种情况下都没有返回值(代码中有三个不带参数的 return 语句),而此时调用了 finally() 方法。
我对这段特定的逻辑不够熟悉,无法弄清楚在这些地方应该返回什么。
