captain-order-coupon
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -925,3 +925,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
formatAmount: function formatAmount(amount) { | ||
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 0); | ||
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2); | ||
} | ||
@@ -928,0 +928,0 @@ } |
@@ -620,3 +620,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
formatAmount: function formatAmount(amount) { | ||
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 0); | ||
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2); | ||
} | ||
@@ -623,0 +623,0 @@ } |
{ | ||
"name": "captain-order-coupon", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "下单页优惠券组件", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1