mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 17:26:15 -04:00
feat(ux): copyable input
This commit is contained in:
parent
7a7372df19
commit
1859a9a174
5 changed files with 79 additions and 26 deletions
|
@ -40,7 +40,7 @@
|
|||
<n-input-group-label style="width: 150px;">
|
||||
{{ name }}
|
||||
</n-input-group-label>
|
||||
<n-input :value="fromDate(date)" />
|
||||
<input-copyable :value="fromDate(date)" />
|
||||
</n-input-group>
|
||||
</div>
|
||||
</n-card>
|
||||
|
@ -51,6 +51,7 @@
|
|||
import { useRafFn } from '@vueuse/core';
|
||||
import { formatISO, formatISO9075, formatRFC3339, formatRFC7231, fromUnixTime, getTime, getUnixTime, isDate, parseISO, parseJSON } from 'date-fns';
|
||||
import { ref } from 'vue'
|
||||
import InputCopyable from "../../components/InputCopyable.vue";
|
||||
|
||||
const useCurrentDate = ref(true)
|
||||
const inputDate = ref('')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue