Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
fix: 雷达图选择后用户昵称显示
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin3go committed Apr 10, 2023
1 parent 9559df8 commit 3817c61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/show/components/radar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@ async function getFriendListAsOwner() {
function submit() {
const friend1 = friendList.value.find((item) => item.id === curSelect.value[0]);
chartData.series[1].data = friend1?.visualization || [0, 0, 0, 0, 0];
chartData.series[1].name = friend1?.nickName || "未选择";
const friend2 = friendList.value.find((item) => item.id === curSelect.value[1]);
chartData.series[2].data = friend2?.visualization || [0, 0, 0, 0, 0];
chartData.series[2].name = friend2?.nickName || "未选择";
}
function checkboxChange(e: any) {
Expand Down

0 comments on commit 3817c61

Please sign in to comment.