feat(status): mention user

This commit is contained in:
三咲智子 2022-11-24 22:32:20 +08:00
parent 0587f5f994
commit 53cf994ffd
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
5 changed files with 60 additions and 32 deletions

View file

@ -1,5 +1,13 @@
<script setup lang="ts">
function openDialog() {
if (dialogDraft.draft.value.editingStatus)
openPublishDialog(getDefaultDraft())
else openPublishDialog()
}
</script>
<template>
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openPublishDialog">
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openDialog">
<div i-ri:quill-pen-line />
Compose
</button>