Compare commits
2 Commits
7f737dfd8a
...
a66bfce901
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a66bfce901 | ||
|
|
ca5ad25854 |
@ -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 : [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user