Skip to content

Commit 33b02ff

Browse files
committed
releases 4.17.20
1 parent 1c2ce39 commit 33b02ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vxe-table",
3-
"version": "4.17.19",
3+
"version": "4.17.20",
44
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
55
"scripts": {
66
"update": "npm install --legacy-peer-deps",

packages/ui/src/dom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function getNodeOffset (elem: any, container: any, rest: any): any {
4747
}
4848

4949
export function isPx (val: any) {
50-
return val && /^\d+(\.\d+)?px?$/.test(val)
50+
return val && /^\d+(\.\d+)?(px)?$/.test(val)
5151
}
5252

5353
export function isScale (val: any) {

0 commit comments

Comments
 (0)