jufubao-base 1.0.421 → 1.0.422

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-base",
3
- "version": "1.0.421",
3
+ "version": "1.0.422",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -411,7 +411,10 @@
411
411
  //#endif
412
412
  },
413
413
  onJfbCustomEvent({action, data}){
414
- if(action === 'baseTfkSearch@keyword'){
414
+ if (action === 'baseTfkSearch@keyword') {
415
+ // #ifdef H5
416
+ data = decodeURIComponent(data);
417
+ // #endif
415
418
  this.keyword = data;
416
419
  }
417
420
  }
@@ -426,7 +426,10 @@
426
426
  //#endif
427
427
  },
428
428
  onJfbCustomEvent({action, data}){
429
- if(action === 'baseTfkSearch@keyword'){
429
+ if (action === 'baseTfkSearch@keyword') {
430
+ // #ifdef H5
431
+ data = decodeURIComponent(data);
432
+ // #endif
430
433
  this.keyword = data;
431
434
  }
432
435
  }