fix:直播教师头像显示问题

This commit is contained in:
wyx
2023-03-10 14:31:50 +08:00
parent bc8c6fcbb9
commit 2f03fff7e9
4 changed files with 9 additions and 1 deletions

View File

@@ -212,7 +212,7 @@ const returnclick = () => {
const {data} = useRequest(TASK_BROADCAST_DETAIL, {liveId,type});
console.log('直播信息', data)
const teacherInfo = useUserInfo(
computed(() => data.value?.userInfoBo?.userId)
computed(() => data.value?.liveTeacherId)
);
const state = reactive({
@@ -303,6 +303,7 @@ function isSignClick() {
}
watch(data, () => {
console.log(teacherInfo)
isSignClick();
})