@fonixtree/magic-design 0.2.8 → 0.2.10

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.
@@ -309,7 +309,12 @@ var clickUrl = function clickUrl(url) {
309
309
  params: {
310
310
  url: params.link
311
311
  }
312
- });
312
+ }); // 领取优惠券
313
+
314
+ if (params.type === 'GET_COUPON') {
315
+ getCoupon(params.couponId);
316
+ return;
317
+ }
313
318
 
314
319
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
315
320
  (0, _androidUtil.sendToApp)(data);
@@ -328,12 +333,6 @@ var clickUrl = function clickUrl(url) {
328
333
  source: params.data.sourceUrl
329
334
  }));
330
335
  return;
331
- } // 领取优惠券
332
-
333
-
334
- if (params.type === 'GET_COUPON') {
335
- getCoupon(params.couponId);
336
- return;
337
336
  }
338
337
 
339
338
  if (params.type === 'SHARE_URL' || params.type === 'AFFILIATE_PRODUCT') {
@@ -309,7 +309,12 @@ var clickUrl = function clickUrl(url) {
309
309
  params: {
310
310
  url: params.link
311
311
  }
312
- });
312
+ }); // 领取优惠券
313
+
314
+ if (params.type === 'GET_COUPON') {
315
+ getCoupon(params.couponId);
316
+ return;
317
+ }
313
318
 
314
319
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
315
320
  (0, _androidUtil.sendToApp)(data);
@@ -328,12 +333,6 @@ var clickUrl = function clickUrl(url) {
328
333
  source: params.data.sourceUrl
329
334
  }));
330
335
  return;
331
- } // 领取优惠券
332
-
333
-
334
- if (params.type === 'GET_COUPON') {
335
- getCoupon(params.couponId);
336
- return;
337
336
  }
338
337
 
339
338
  if (params.type === 'SHARE_URL' || params.type === 'AFFILIATE_PRODUCT') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.2.8",
4
+ "version": "0.2.10",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",