@fonixtree/magic-design 1.0.108 → 1.0.109

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.
@@ -337,7 +337,7 @@ var clickUrl = function clickUrl(url, state) {
337
337
 
338
338
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
339
339
  (0, _androidUtil.sendToApp)(data);
340
- } else if ((0, _androidUtil.browserVersion)().isDitoApp && params.link && params.link.startsWith('http')) {
340
+ } else if ((0, _androidUtil.browserVersion)().isDitoApp && params.link && params.link.startsWith('http') && !link.includes('mydito')) {
341
341
  // pto 抽奖系统对接
342
342
  var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "token=" + (localStorage.getItem('h5Token') || '');
343
343
  window.location.href = urlTemp;
@@ -337,7 +337,7 @@ var clickUrl = function clickUrl(url, state) {
337
337
 
338
338
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
339
339
  (0, _androidUtil.sendToApp)(data);
340
- } else if ((0, _androidUtil.browserVersion)().isDitoApp && params.link && params.link.startsWith('http')) {
340
+ } else if ((0, _androidUtil.browserVersion)().isDitoApp && params.link && params.link.startsWith('http') && !link.includes('mydito')) {
341
341
  // pto 抽奖系统对接
342
342
  var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "token=" + (localStorage.getItem('h5Token') || '');
343
343
  window.location.href = urlTemp;
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.108",
4
+ "version": "1.0.109",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",