diff --git a/src/views/Clue/Pool/Comp/DrawerClue.vue b/src/views/Clue/Pool/Comp/DrawerClue.vue index f1feacf..e17dc38 100644 --- a/src/views/Clue/Pool/Comp/DrawerClue.vue +++ b/src/views/Clue/Pool/Comp/DrawerClue.vue @@ -176,8 +176,10 @@ const operateRecordList = ref([]) const dialogMap = ref(null) const aMap = ref(null) +const clueId = ref('') + function getFollowList() { - FollowApi.getFollowList({ clueId: id }).then((data) => { + FollowApi.getFollowList({ clueId: clueId.value }).then((data) => { followRecordList.value = data.map((item) => ({ operateUserName: item.operateUserName, centent: item.centent, @@ -189,6 +191,7 @@ function getFollowList() { } async function open(id) { + clueId.value = id try { getFollowList() ClueApi.getOpearateRecord({ clueId: id }).then((data) => {