Comparing version 7.47.3 to 7.47.4
@@ -200,3 +200,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
key = config.key; | ||
if (top) { | ||
// * 考虑top为0的情况 | ||
if (top || top === 0) { | ||
var _scrollBodyRef$curren; | ||
@@ -203,0 +205,0 @@ (_scrollBodyRef$curren = scrollBodyRef.current) === null || _scrollBodyRef$curren === void 0 || _scrollBodyRef$curren.scrollTo({ |
@@ -211,3 +211,5 @@ "use strict"; | ||
key = config.key; | ||
if (top) { | ||
// * 考虑top为0的情况 | ||
if (top || top === 0) { | ||
var _scrollBodyRef$curren; | ||
@@ -214,0 +216,0 @@ (_scrollBodyRef$curren = scrollBodyRef.current) === null || _scrollBodyRef$curren === void 0 || _scrollBodyRef$curren.scrollTo({ |
{ | ||
"name": "rc-table", | ||
"version": "7.47.3", | ||
"version": "7.47.4", | ||
"description": "table ui component for react", | ||
@@ -43,3 +43,3 @@ "engines": { | ||
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", | ||
"test": "vitest", | ||
"test": "vitest --watch false", | ||
"coverage": "vitest run --coverage", | ||
@@ -46,0 +46,0 @@ "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399713
8851