@lemon-fe/components 0.1.54 → 0.1.55
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/es/BaseTable/index.js +3 -1
- package/package.json +2 -2
package/es/BaseTable/index.js
CHANGED
|
@@ -206,7 +206,9 @@ function BaseTable(props) {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
useEffect(function () {
|
|
209
|
-
|
|
209
|
+
if (scrollYProp === true) {
|
|
210
|
+
setScrollY(calcScrollY() || 0);
|
|
211
|
+
}
|
|
210
212
|
}, [hasPagination]);
|
|
211
213
|
useEffect(function () {
|
|
212
214
|
if (scrollYProp !== true) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "鲁盛杰 <lusj@cnlemon.net>",
|
|
6
6
|
"homepage": "",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"react": "^17.0.2",
|
|
42
42
|
"react-dom": "^17.0.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "26cf3c526e121d460bee164784fdd9a16a5b5cdc"
|
|
45
45
|
}
|