feat(miniprogram): enable sharing on all pages

This commit is contained in:
stu2not
2026-10-13 10:03:59 +08:00
parent ffdd8eaff1
commit b6906bc8b6
24 changed files with 89 additions and 11 deletions
@@ -7,9 +7,11 @@ import { getToken } from '@/services/auth'
import { setSelectedBindingDeviceId } from '@/services/binding'
import { setSelectedChildId } from '@/services/child'
import { acceptFamilyInvitation, FamilyInvitation, getFamilyInvitation } from '@/services/family'
import { usePageShare } from '@/utils/page-share'
import './index.scss'
export default function FamilyInvite() {
usePageShare()
const router = useRouter()
const inviteToken = String(router.params?.token || '').trim()
const redirectUrl = `/pages/family-invite/index?token=${inviteToken}`