feat: update Draft's scheduledAt param
This commit is contained in:
parent
13f9aa28e3
commit
0883d1f226
1 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,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