mali-applet-ui 0.2.97 → 0.2.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,9 +66,9 @@ export default {
66
66
  return { ...globalStore.loadMore.pageProp, ...this.pageProps }
67
67
  },
68
68
  hasFilters () {
69
- console.log(this.filterForm)
69
+ const fields = this.emptyOpts.fields || []
70
70
  for (let key in this.filterForm) {
71
- if (this.filterForm[key]) {
71
+ if (fields.includes(key) && this.filterForm[key]) {
72
72
  return true
73
73
  }
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.97",
3
+ "version": "0.2.98",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"