jufubao-base 1.0.40-beta2 → 1.0.40-beta3

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.40-beta2",
3
+ "version": "1.0.40-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -317,7 +317,7 @@
317
317
  let url = JSON.parse(item.redirect_data);
318
318
  if (reg.test(url.url)) {
319
319
  console.warn(`广告跳转外站: ${url.url}`);
320
- window.location.replace(url.url);
320
+ window.location.href = url.url;
321
321
  } else {
322
322
  throw Error('地址错误')
323
323
  }
@@ -195,7 +195,7 @@
195
195
  let url = JSON.parse(item.redirect_data);
196
196
  if (reg.test(url.url)) {
197
197
  console.warn(`广告跳转外站: ${url.url}`);
198
- window.location.replace(url.url);
198
+ window.location.href = url.url;
199
199
  } else {
200
200
  throw Error('地址错误')
201
201
  }
@@ -170,7 +170,7 @@
170
170
  let url = JSON.parse(item.redirect_data);
171
171
  if (reg.test(url.url)) {
172
172
  console.warn(`广告跳转外站: ${url.url}`);
173
- window.location.replace(url.url);
173
+ window.location.href = url.url;
174
174
  }
175
175
  else {
176
176
  throw Error('地址错误')
@@ -209,7 +209,7 @@
209
209
  let url = JSON.parse(item.redirect_data);
210
210
  if (reg.test(url.url)) {
211
211
  console.warn(`广告跳转外站: ${url.url}`);
212
- window.location.replace(url.url);
212
+ window.location.href = url.url
213
213
  } else {
214
214
  throw Error('地址错误')
215
215
  }