diff --git a/app/my/editUserProfile/editUserName/page.js b/app/my/editUserProfile/editUserName/page.js index 70ddd88..4cb27c6 100644 --- a/app/my/editUserProfile/editUserName/page.js +++ b/app/my/editUserProfile/editUserName/page.js @@ -9,11 +9,11 @@ import { getUserInfo } from "@/api/public"; import { get, save } from "@/utils/storeInfo"; import requireAPI from "@/utils/requireAPI"; import { utf8Length } from "@/utils/tools"; -const account = get("account"); + export default function EditUserName() { const router = useRouter(); const [name, setName] = useState(); - + const account = get("account"); useEffect(() => { const getName = async () => { setName(account.name); diff --git a/app/space/[id]/page.js b/app/space/[id]/page.js index 1a5ab98..ff29314 100644 --- a/app/space/[id]/page.js +++ b/app/space/[id]/page.js @@ -184,11 +184,7 @@ export default function PersonSpace() { }} /> - router.push( "setting?data=" + @@ -207,7 +203,14 @@ export default function PersonSpace() { ) ) } - /> + > + + {/* 内容 */}
diff --git a/components/Photos/index.js b/components/Photos/index.js index befcb5f..3a3da7b 100644 --- a/components/Photos/index.js +++ b/components/Photos/index.js @@ -322,11 +322,13 @@ export default function Photos({ className="absolute top-0 w-full h-full flex justify-center items-center bg-[#33333348]" onClick={handleSeeAllPhotos} > - +{currentPhotos.length} + + +{photos.length - currentPhotos.length} +
) : (