@aspire-ui/element-component-pro 1.0.10 → 1.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspire-ui/element-component-pro",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Element UI 二次封装组件库,基于 Vue 2.7 + TypeScript + setup 语法糖,实现 VbenAdmin 风格的 Pro 组件",
5
5
  "type": "module",
6
6
  "main": "./dist/element-component-pro.umd.js",
@@ -53,7 +53,7 @@ const emit = defineEmits<{ (e: 'input', value: unknown): void }>()
53
53
  const focused = ref(false)
54
54
  const displayText = ref('')
55
55
 
56
- const intN = () => Math.max(0, Math.floor(props.integerDigits ?? 5))
56
+ const intN = () => Math.max(0, Math.floor(props.integerDigits ?? 6))
57
57
  const decM = () => Math.max(0, Math.floor(props.decimalPlaces ?? 6))
58
58
 
59
59
  function parseExternalToNumber(v: unknown): number | null {