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(() => {