Browse Source

show group fix

nieyuge 3 years ago
parent
commit
f6c8224efb
1 changed files with 2 additions and 2 deletions
  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()
                 }