diff --git a/src/components/BasicForm/components/BasicDateTime.vue b/src/components/BasicForm/components/BasicDateTime.vue index a55af85..55e5a47 100644 --- a/src/components/BasicForm/components/BasicDateTime.vue +++ b/src/components/BasicForm/components/BasicDateTime.vue @@ -91,7 +91,7 @@ function confirm(e: any) { newValue.value = dayjs(value).format("YYYY-MM"); } if (attrs.componentProps.ok && typeof attrs.componentProps.ok == "function") { - attrs.componentProps.ok(e); + attrs.componentProps.ok(e, attrs); } } diff --git a/src/pages/view/hr/teacherProfile/PositionInfo.vue b/src/pages/view/hr/teacherProfile/PositionInfo.vue index 543073b..5c6fafd 100644 --- a/src/pages/view/hr/teacherProfile/PositionInfo.vue +++ b/src/pages/view/hr/teacherProfile/PositionInfo.vue @@ -5,12 +5,14 @@