From 1caeeab582c5b182057e81ad82d8027c6e093da5 Mon Sep 17 00:00:00 2001 From: gengxin Date: Tue, 18 Feb 2025 09:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B2=E5=B8=88=E8=B4=B9=E7=94=A8=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC=EF=BC=8C?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/LecturerApproval.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/lecturer/LecturerApproval.vue b/src/views/lecturer/LecturerApproval.vue index ad766219..1ef948fa 100644 --- a/src/views/lecturer/LecturerApproval.vue +++ b/src/views/lecturer/LecturerApproval.vue @@ -263,17 +263,17 @@ export default { ProjectManager, LecturerAppEdit, }, - props: { - activeKeyProps: String, - default: null, - }, - setup(props, emit) { - watch(() => props.key, (val) => { - console.log(val, 'valllllll') + + setup() { + const props = defineProps({ + activeKeyProps: { + type: String, + default: false, + }, }) - watch(() => props.activeKeyProps, (activeKey) => { - console.log(activeKey, 'activeKey props') + watch(()=>props.activeKeyProps, (activeKeyPropsVal) => { + console.log("activeKeyPropsVal",activeKeyPropsVal) }) onMounted(() => {