@nutui/nutui-react-taro 3.0.19-cpp.22-1 → 3.0.19-cpp.22-2
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.
- package/dist/cjs/packages/price/price.js +1 -1
- package/dist/es/packages/price/price.js +1 -1
- package/dist/nutui.react.umd.js +1 -1
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +41 -41
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +34 -34
- package/dist/style.css +1 -1
- package/dist/style.scss +28 -28
- package/package.json +1 -1
|
@@ -87,7 +87,7 @@ var Price = function Price(props) {
|
|
|
87
87
|
return num;
|
|
88
88
|
};
|
|
89
89
|
var formatDecimal = function formatDecimal(decimalNum) {
|
|
90
|
-
if (Number(decimalNum) === 0) {
|
|
90
|
+
if (Number(decimalNum) === 0 && !checkPoint(decimalNum)) {
|
|
91
91
|
decimalNum = 0;
|
|
92
92
|
}
|
|
93
93
|
if (checkPoint(decimalNum)) {
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -39932,7 +39932,7 @@
|
|
|
39932
39932
|
return num;
|
|
39933
39933
|
};
|
|
39934
39934
|
var formatDecimal = function(decimalNum) {
|
|
39935
|
-
if (Number(decimalNum) === 0) {
|
|
39935
|
+
if (Number(decimalNum) === 0 && !checkPoint(decimalNum)) {
|
|
39936
39936
|
decimalNum = 0;
|
|
39937
39937
|
}
|
|
39938
39938
|
if (checkPoint(decimalNum)) {
|