@lingxiteam/ebe-utils 0.5.5 → 0.5.6
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.
|
@@ -159,13 +159,13 @@ const MyDynamicTabs = LingxiForwardRef<any, DynamicTabsProps>((props, ref) => {
|
|
|
159
159
|
|
|
160
160
|
useEffect(() => {
|
|
161
161
|
setMyTabItems(tabItems);
|
|
162
|
-
}, [tabItems]);
|
|
162
|
+
}, [JSON.stringify(tabItems)]);
|
|
163
163
|
|
|
164
164
|
// 更新Tab的Items数据
|
|
165
165
|
useEffect(() => {
|
|
166
166
|
const items = getTabItems(myTabItems);
|
|
167
167
|
setFinallyTabItems(items);
|
|
168
|
-
}, [myTabItems, pagePadding, activeKey, reloadPageKey]);
|
|
168
|
+
}, [JSON.stringify(myTabItems), pagePadding, activeKey, reloadPageKey]);
|
|
169
169
|
|
|
170
170
|
// 设置默认选中项
|
|
171
171
|
useEffect(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"fs-extra": "9.x",
|
|
22
|
-
"@lingxiteam/ebe": "0.5.
|
|
22
|
+
"@lingxiteam/ebe": "0.5.6"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|