@fonixtree/magic-design 2.0.69 → 2.0.70

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.
@@ -363,12 +363,12 @@ var clickUrl = function clickUrl(url) {
363
363
 
364
364
  if (isUrl(link)) {
365
365
  if (!link.includes(window.location.host)) {
366
- // 跳转外链 需要把token带上
366
+ // 跳转外链 需要把userToken带上
367
367
  if (link.includes('?')) {
368
- var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
368
+ var a = link + "&userToken=" + (localStorage.getItem('h5Token') || '');
369
369
  window.open(a);
370
370
  } else {
371
- var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
371
+ var a = link + "?userToken=" + (localStorage.getItem('h5Token') || '');
372
372
  window.open(a);
373
373
  }
374
374
  }
@@ -363,12 +363,12 @@ var clickUrl = function clickUrl(url) {
363
363
 
364
364
  if (isUrl(link)) {
365
365
  if (!link.includes(window.location.host)) {
366
- // 跳转外链 需要把token带上
366
+ // 跳转外链 需要把userToken带上
367
367
  if (link.includes('?')) {
368
- var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
368
+ var a = link + "&userToken=" + (localStorage.getItem('h5Token') || '');
369
369
  window.open(a);
370
370
  } else {
371
- var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
371
+ var a = link + "?userToken=" + (localStorage.getItem('h5Token') || '');
372
372
  window.open(a);
373
373
  }
374
374
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "2.0.69",
4
+ "version": "2.0.70",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",