changes
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<span :style="color ? `color:${color}` : ''">{{ $dayjs(date).format("L") }}</span>
|
||||
</template>
|
||||
<script setup>
|
||||
const { $dayjs } = useNuxtApp();
|
||||
const props = defineProps({
|
||||
date: String,
|
||||
color: String,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>{{ $dayjs(date).format("L") }}</span>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user