mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-15 05:19:58 +00:00
feat: update Draft
's scheduledAt
param
This commit is contained in:
parent
4f4f12d6e1
commit
4a0345a059
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ const expiresInDefaultOptionIndex = 2
|
||||||
|
|
||||||
const scheduleDateTime = ref('')
|
const scheduleDateTime = ref('')
|
||||||
|
|
||||||
|
watchEffect(() => {
|
||||||
|
draft.value.params.scheduledAt = scheduleDateTime.value
|
||||||
|
})
|
||||||
|
|
||||||
const characterCount = computed(() => {
|
const characterCount = computed(() => {
|
||||||
const text = htmlToText(editor.value?.getHTML() || '')
|
const text = htmlToText(editor.value?.getHTML() || '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue