This website works better with JavaScript.
首頁
探索
說明
登入
alex
/
PNSPS-frontend-MaterialUI
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fix group loading
master
Alex Cheung
1 年之前
父節點
9791ad6f49
當前提交
74704a333b
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/pages/User/DetailPage/UserGroupCard.js
+ 1
- 1
src/pages/User/DetailPage/UserGroupCard.js
查看文件
@@ -30,7 +30,7 @@ const UserGroupCard = ({isCollectData, updateUserGroupList,userData,isNewRecord}
useEffect(() => {
//if state data are ready and assign to different field
if (Object.keys(userData).length > 0
&&
currentUserData !== undefined) {
if (Object.keys(userData).length > 0
||
currentUserData !== undefined) {
setOnReady(true);
}
}, [currentUserData]);
Write
Preview
Loading…
取消
儲存