Explorar el Código

show group fix

nieyuge hace 3 años
padre
commit
f6c8224efb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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()
                 }