Skip to content
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

这个库在华为快应用是不能使用吗 #1

Open
shanks-xc opened this issue Aug 24, 2023 · 1 comment
Open

这个库在华为快应用是不能使用吗 #1

shanks-xc opened this issue Aug 24, 2023 · 1 comment

Comments

@shanks-xc
Copy link

image

我用了这个demo去跑,请求有解决办法?

@nicejade
Copy link
Member

@shanks-xc 按道理说是可以的;qa-vuex 只是一个 JS 库。

从报错行看,是如下这句代码出现错误,如果是正常数组,filter 不可能无法调用。只需看下在华为上,tasksArr 为何被置为非数组对象即可。

return state.tasksArr.filter((task) => !task.incomplete)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants