@fecp/designer 5.4.41 → 5.4.43

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.43";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -99,6 +99,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
99
99
  textValue.value = "";
100
100
  return;
101
101
  }
102
+ debugger;
102
103
  let displayValue = props.modelValue;
103
104
  switch (props.format) {
104
105
  case "wan":
@@ -117,7 +118,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
117
118
  displayValue = numMulti(displayValue, 1e4);
118
119
  break;
119
120
  }
120
- textValue.value = formatMoney(displayValue, precision.value, ".", ",", true);
121
+ if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
122
+ textValue.value = formatMoney(
123
+ displayValue,
124
+ precision.value,
125
+ ".",
126
+ ",",
127
+ true
128
+ );
129
+ }
121
130
  if (!showThousandsSeparator.value) {
122
131
  textValue.value = delcommafy(textValue.value);
123
132
  }
@@ -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.43";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -101,6 +101,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
101
101
  textValue.value = "";
102
102
  return;
103
103
  }
104
+ debugger;
104
105
  let displayValue = props.modelValue;
105
106
  switch (props.format) {
106
107
  case "wan":
@@ -119,7 +120,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
119
120
  displayValue = numMulti(displayValue, 1e4);
120
121
  break;
121
122
  }
122
- textValue.value = formatMoney(displayValue, precision.value, ".", ",", true);
123
+ if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
124
+ textValue.value = formatMoney(
125
+ displayValue,
126
+ precision.value,
127
+ ".",
128
+ ",",
129
+ true
130
+ );
131
+ }
123
132
  if (!showThousandsSeparator.value) {
124
133
  textValue.value = delcommafy(textValue.value);
125
134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.41",
3
+ "version": "5.4.43",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [