Update invite-patient.vue

This commit is contained in:
huxuejian 2026-02-06 14:38:48 +08:00
parent d90399e08a
commit 73bebf30a9

View File

@ -58,7 +58,7 @@
import { computed, ref } from "vue";
import { storeToRefs } from "pinia";
import dayjs from "dayjs";
import { onLoad, onShareAppMessage } from "@dcloudio/uni-app";
import { onLoad } from "@dcloudio/uni-app";
import useAccountStore from "@/store/account.js";
import useGuard from '@/hooks/useGuard';
import api from "@/utils/api.js";
@ -159,22 +159,6 @@ async function saveImage(action = 'save') {
}
}
//
function onShareAppMessage() {
if (!team.value) {
return shareToWeChat({
title: '邀请患者加入团队',
path: '/pages/work/team/invite/invite-patient'
});
}
return shareToWeChat({
title: `邀请您加入${team.value.name}`,
path: `/pages/work/team/invite/invite-patient?teamId=${team.value.teamId}`,
imageUrl: team.value.qrcode || ''
});
}
//
function onShareTimeline() {
if (!team.value) {