jufubao-mall 2.0.46 → 2.0.48-beta1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-mall",
3
- "version": "2.0.46",
3
+ "version": "2.0.48-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -615,11 +615,6 @@
615
615
 
616
616
  //==filter=== 页面初始化时获取过滤条件,仅在首次加载时调用
617
617
  getSearchFilterList(){
618
- //未开启过滤条件
619
- if(this.showQuery === 'N') {
620
- this.searchFilterList = [];
621
- return Promise.resolve([]);
622
- }
623
618
  //获取服务类型(面板跟链接参数的交集)
624
619
  let consumeMode = [];
625
620
  let urlConsumeMode = this.options['consume_mode'] ? this.options['consume_mode'].split(',') : [];
@@ -630,6 +625,12 @@
630
625
  }
631
626
  this.consumeModeOfPanelAndUrl = consumeMode;
632
627
 
628
+ //未开启过滤条件
629
+ if(this.showQuery === 'N') {
630
+ this.searchFilterList = [];
631
+ return Promise.resolve([]);
632
+ }
633
+
633
634
  let data = this.$xdUniHelper.deleteParamEmptyKey({
634
635
  ...this.options,
635
636
  namespace: this.xnamespace,