소스 검색

show group fix

nieyuge 3 년 전
부모
커밋
f6c8224efb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/logic/content/nft.js

+ 2 - 2
src/logic/content/nft.js

@@ -72,8 +72,8 @@ export const checkUserJoinGroup = (fn) => {
                     pageSize: 1
                 }
             }).then(res => {
-                let { data } = res;
-                if (data !== null) {
+                let { data = [] } = res;
+                if (data !== null && data.length > 0) {
                     ifShowNftGroup = true;
                     if (fn) fn()
                 }