We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
可以搜索到关键词对应的相册,但分类内容一直显示为空,控制台报错
TypeError: category.getCacheData is not a function
先前因为重写了搜索相关功能
.then(result => result.map(n => new Category(n._key, n))),
该代码会导致重新建立 Category 分类模型,导致本地数据库膨胀,所以删除了这行代码。
Category
那么 Promise 异步返回的 Category 查询结果用在 <Content> 组件,该组件接收的是 Model 对象并非搜索内容,所以:
<Content>
this.categories = categories.map(n => n)
The text was updated successfully, but these errors were encountered:
修复全文搜索不到分类内容的问题 closes #39
9af1fea
409915016
No branches or pull requests
可以搜索到关键词对应的相册,但分类内容一直显示为空,控制台报错
先前因为重写了搜索相关功能
该代码会导致重新建立
Category
分类模型,导致本地数据库膨胀,所以删除了这行代码。那么 Promise 异步返回的 Category 查询结果用在
<Content>
组件,该组件接收的是 Model 对象并非搜索内容,所以:The text was updated successfully, but these errors were encountered: