@fecp/designer 5.4.41 → 5.4.44

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,4 +1,4 @@
1
- const version = "5.4.41";
1
+ const version = "5.4.44";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -117,7 +117,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
117
117
  displayValue = numMulti(displayValue, 1e4);
118
118
  break;
119
119
  }
120
- textValue.value = formatMoney(displayValue, precision.value, ".", ",", true);
120
+ if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
121
+ textValue.value = formatMoney(
122
+ displayValue,
123
+ precision.value,
124
+ ".",
125
+ ",",
126
+ true
127
+ );
128
+ } else {
129
+ textValue.value = displayValue;
130
+ }
121
131
  if (!showThousandsSeparator.value) {
122
132
  textValue.value = delcommafy(textValue.value);
123
133
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.41";
3
+ const version = "5.4.44";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -119,7 +119,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
119
119
  displayValue = numMulti(displayValue, 1e4);
120
120
  break;
121
121
  }
122
- textValue.value = formatMoney(displayValue, precision.value, ".", ",", true);
122
+ if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
123
+ textValue.value = formatMoney(
124
+ displayValue,
125
+ precision.value,
126
+ ".",
127
+ ",",
128
+ true
129
+ );
130
+ } else {
131
+ textValue.value = displayValue;
132
+ }
123
133
  if (!showThousandsSeparator.value) {
124
134
  textValue.value = delcommafy(textValue.value);
125
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.41",
3
+ "version": "5.4.44",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [