Refactor DatePicker.vue and api.graphql.ts, and RKeluhan_BerdasarMedia.vue files

This commit is contained in:
Dede Fuji Abdul
2024-04-06 23:39:41 +07:00
parent dd6da0f25a
commit 253a076107
6 changed files with 1354 additions and 353 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { PhCalendarBlank } from '@phosphor-icons/vue'
import { ref, watch } from 'vue'
import { onMounted, ref, watch } from 'vue'
import VueTailwindDatepicker from 'vue-tailwind-datepicker'
const dateValue = ref(
@@ -76,6 +76,10 @@ const customShortcuts = () => {
watch(dateValue, (newValue) => {
emit('update:dateValue', newValue)
})
onMounted(() => {
emit('update:dateValue', dateValue.value)
})
</script>
<template>