Compare commits
No commits in common. "a66bfce90176a3e8da95aa2dd4d619666fa2c457" and "7f737dfd8ab10428fe79fb4d67bee9d52361f55d" have entirely different histories.
a66bfce901
...
7f737dfd8a
@ -21,7 +21,7 @@ export default defineStore("teamStore", () => {
|
||||
|
||||
async function getTeams() {
|
||||
const corpId = account.value?.corpId;
|
||||
const mateId = doctorInfo.value?.userid;
|
||||
const mateId = doctorInfo.value?.corpId;
|
||||
if (!corpId || !mateId) return;
|
||||
const res = await api('getJoinedTeams', { corpId, mateId });
|
||||
teams.value = res && Array.isArray(res.data) ? res.data : [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user