From 809eb3cafad8b55330ee0412659f63be73791044 Mon Sep 17 00:00:00 2001 From: sunhonglai Date: Sun, 27 Apr 2025 13:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=82=AC=E6=B5=AE=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/InsideLecturer.vue | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) 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, } }, };