diff --git a/src/views/lecturer/InsideLecturer.vue b/src/views/lecturer/InsideLecturer.vue index 9e8cf909..d3216601 100644 --- a/src/views/lecturer/InsideLecturer.vue +++ b/src/views/lecturer/InsideLecturer.vue @@ -450,19 +450,6 @@ export default { LookInsideLecturer, }, setup() { - const activeTooltip = ref(null); // 当前显示的提示框对应的记录 ID - - // 显示提示框 - const showTooltip = (title) => { - console.log("================title",title); - activeTooltip.value = title; - }; - - // 隐藏提示框 - const hideTooltip = () => { - activeTooltip.value = null; - }; - onMounted(() => { const search = sessionStorage.getItem('searchLecturer') if (route.query.activeKey == 1) { @@ -821,14 +808,7 @@ export default { { value.record.name } / { value.record.userNo } ) - }, - customCell: (record) => { - return { - style: { userSelect: 'text' }, - onMouseenter: () => showTooltip(record.name), // 绑定自定义的 showTooltip 方法 - onMouseleave: hideTooltip, // 绑定自定义的 hideTooltip 方法 - }; - }, + } }, { title: '所属组织 ', @@ -1474,9 +1454,6 @@ export default { createupdialog, removeList, checkMenu, - activeTooltip, - showTooltip, - hideTooltip, } }, };