jufubao-base 1.0.187 → 1.0.188

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.187",
3
+ "version": "1.0.188",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -391,8 +391,11 @@ export default {
391
391
  //外站配置地址
392
392
  if(entry.redirect_type === 'URL') {
393
393
  if(regHttp.test(entry.redirect_data['path']) || regSp.test(entry.redirect_data['path'])) {
394
+ let urlPath = entry.redirect_data['path'];
395
+ if(urlPath.indexOf('?') === -1) urlPath = `${urlPath}?x-common=${nsp}&vs=${new Date().getTime()}`;
396
+ else urlPath = `${urlPath}&x-common=${nsp}&vs=${new Date().getTime()}`;
394
397
  this.$xdUniHelper.redirectTo({
395
- url:`${entry.redirect_data['path']}?x-common=${nsp}&vs=${new Date().getTime()}${cardPathStr}`
398
+ url:urlPath
396
399
  }, false)
397
400
  }
398
401
  else {
@@ -787,8 +787,11 @@ export default {
787
787
  //外站配置地址
788
788
  if(entry.redirect_type === 'URL') {
789
789
  if(regHttp.test(entry.redirect_data['path']) || regSp.test(entry.redirect_data['path'])) {
790
+ let urlPath = entry.redirect_data['path'];
791
+ if(urlPath.indexOf('?') === -1) urlPath = `${urlPath}?x-common=${nsp}&vs=${new Date().getTime()}`;
792
+ else urlPath = `${urlPath}&x-common=${nsp}&vs=${new Date().getTime()}`;
790
793
  this.$xdUniHelper.redirectTo({
791
- url:`${entry.redirect_data['path']}?x-common=${nsp}&vs=${new Date().getTime()}${cardPathStr}`
794
+ url:urlPath
792
795
  }, false)
793
796
  }
794
797
  else {
@@ -457,8 +457,11 @@
457
457
  //外站配置地址
458
458
  if(entry.redirect_type === 'URL') {
459
459
  if(regHttp.test(entry.redirect_data['path']) || regSp.test(entry.redirect_data['path'])) {
460
+ let urlPath = entry.redirect_data['path'];
461
+ if(urlPath.indexOf('?') === -1) urlPath = `${urlPath}?x-common=${nsp}&vs=${new Date().getTime()}`;
462
+ else urlPath = `${urlPath}&x-common=${nsp}&vs=${new Date().getTime()}`;
460
463
  this.$xdUniHelper.redirectTo({
461
- url:`${entry.redirect_data['path']}?x-common=${nsp}&vs=${new Date().getTime()}${cardPathStr}`
464
+ url:urlPath
462
465
  }, false)
463
466
  }
464
467
  else {