zmdms-webui 3.4.1 → 3.4.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.
@@ -134,6 +134,8 @@ function getFormatter(formatterType, currencySymbol, isFocusRef, precision) {
134
134
  return getValue(value, isFocusRef, precision);
135
135
  },
136
136
  parser: function (value) {
137
+ // 移除千分符(兼容粘贴带千分符的数字)
138
+ value = value.replace(/,/g, "");
137
139
  // 替换 。号
138
140
  value = value.replace(/。/g, ".");
139
141
  // 替换多个小数点
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",