This commit is contained in:
wangdongbo 2026-01-30 10:28:38 +08:00
commit 3316e1bfa0

View File

@ -21,7 +21,7 @@ export default defineStore("teamStore", () => {
async function getTeams() {
const corpId = account.value?.corpId;
const mateId = doctorInfo.value?.corpId;
const mateId = doctorInfo.value?.userid;
if (!corpId || !mateId) return;
const res = await api('getJoinedTeams', { corpId, mateId });
teams.value = res && Array.isArray(res.data) ? res.data : [];