-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ArticleReaction.vue:99 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'reaction0') #2466
Comments
有没有可能这是你自己的bug。你不是已经知道原因了吗。resp不是数组 Is it possible that this is your own bug. Don't you already know the reason? resp is not an array |
@track23 这个同学之前提过一个 issue 我这边跟进了下,后续确认是 Waline 初始数据的问题,影响不大,只有在没有 reaction 数据的时候会有这个报错,对用户使用没有影响。这个 issue 先放着,后面我空了处理下。感谢你帮忙跟进~ @track23 This classmate raised an issue before and I followed up on it. It was later confirmed that it was a problem with the initial data of Waline. The impact was not big. This error will only occur when there is no reaction data, and it will have no impact on user use. I'll leave this issue alone for now, I'll deal with it later. Thank you for your help in following up~ |
这个问题解决了吗? "@waline/client": "^3.4.2" 里面也碰到了这个问题。 Has the problem been solved? "@waline/client": "^3.4.2" also runs into this problem. |
@observerkei 需要升级 @observerkei needs to upgrade |
问题描述 | Describe the bug
The following error occurs when loading a page or switching the document in the left sidebar:
This error, refresh the page may not be easy to appear, switch the left side of the document is easy to appear, or switch the document and then refresh the page after the switch is also easy to appear, it is recommended to try a few more times, you will be able to find the error.
For example:
https://wxkj.asia/mynote/%E5%BC%80%E5%8F%91%E7%AC%94%E8%AE%B0/%E5%89%8D%E7%AB%AF/%E9%98%B2%E6%AD%A2window.onload%E8%A2%AB%E8%A6%86%E7%9B%96%E7%9A%84%E6%8A%80%E5%B7%A7.html
You can click on the URL above and refer to my GIF image:
Here resp is an object, not an array, so [0] here is redundant, I think.
This bug is the same as the previous 2451 bug, but 2451 was closed, so it was rebuilt. see: 2451
问题网站 | Website URL
https://wxkj.asia/mynote/%E5%BC%80%E5%8F%91%E7%AC%94%E8%AE%B0/%E5%89%8D%E7%AB%AF/%E9%98%B2%E6%AD%A2window.onload%E8%A2%AB%E8%A6%86%E7%9B%96%E7%9A%84%E6%8A%80%E5%B7%A7.html
服务部署在哪里? | Where your waline deploy?
Vercel (Default)
数据存储在哪里?| Where your comment data store?
LeanCloud(https://leancloud.app)
The text was updated successfully, but these errors were encountered: