@fonixtree/magic-design 1.0.105 → 1.0.107

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.
@@ -1,3 +1,6 @@
1
+ .m-image-gallery-mobile {
2
+ min-height: 0.02rem;
3
+ }
1
4
  .m-image-gallery-mobile .content .line {
2
5
  margin-bottom: 0.24rem;
3
6
  }
@@ -366,17 +366,15 @@ var clickUrl = function clickUrl(url, state) {
366
366
 
367
367
 
368
368
  if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'pto') {
369
- // 输入的是完整的跳转地址
370
- if (isUrl(link)) {
369
+ // 输入的是完整的跳转地址 排除掉‘https://www.baidu.com;mydito://BuyLoad’这种情况
370
+ if (isUrl(link) && !link.includes('mydito://')) {
371
371
  if (!link.includes(window.location.host)) {
372
372
  // 跳转外链 需要把token带上
373
373
  if (link.includes('?')) {
374
374
  var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
375
- console.log('wai lian: ', a);
376
375
  window.location.href = a;
377
376
  } else {
378
377
  var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
379
- console.log('wai lian: ', a);
380
378
  window.location.href = a;
381
379
  }
382
380
  } else {
@@ -1,3 +1,6 @@
1
+ .m-image-gallery-mobile {
2
+ min-height: 0.02rem;
3
+ }
1
4
  .m-image-gallery-mobile .content .line {
2
5
  margin-bottom: 0.24rem;
3
6
  }
@@ -366,17 +366,15 @@ var clickUrl = function clickUrl(url, state) {
366
366
 
367
367
 
368
368
  if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'pto') {
369
- // 输入的是完整的跳转地址
370
- if (isUrl(link)) {
369
+ // 输入的是完整的跳转地址 排除掉‘https://www.baidu.com;mydito://BuyLoad’这种情况
370
+ if (isUrl(link) && !link.includes('mydito://')) {
371
371
  if (!link.includes(window.location.host)) {
372
372
  // 跳转外链 需要把token带上
373
373
  if (link.includes('?')) {
374
374
  var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
375
- console.log('wai lian: ', a);
376
375
  window.location.href = a;
377
376
  } else {
378
377
  var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
379
- console.log('wai lian: ', a);
380
378
  window.location.href = a;
381
379
  }
382
380
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.105",
4
+ "version": "1.0.107",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",