feat(ui): opening the details page with the reply button (#840)
This commit is contained in:
parent
6a78f9c9e3
commit
2ff46bb8cb
2 changed files with 9 additions and 6 deletions
|
@ -49,6 +49,11 @@ const focusEditor = () => {
|
|||
|
||||
provide('focus-editor', focusEditor)
|
||||
|
||||
watch(publishWidget, () => {
|
||||
if (window.history.state.focusReply)
|
||||
focusEditor()
|
||||
})
|
||||
|
||||
onReactivated(() => {
|
||||
// Silently update data when reentering the page
|
||||
// The user will see the previous content first, and any changes will be updated to the UI when the request is completed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue