미저장 변경 이탈 확인 추가
This commit is contained in:
@@ -52,7 +52,9 @@ const savePost = async (payload) => {
|
||||
body: payload
|
||||
})
|
||||
|
||||
postForm.value?.markSaved()
|
||||
postForm.value?.clearAutosave()
|
||||
postForm.value?.allowNextRouteLeave()
|
||||
sessionStorage.setItem('SORI_ADMIN_POST_TOAST', JSON.stringify({
|
||||
type: 'success',
|
||||
message: '글이 저장되었습니다.'
|
||||
|
||||
Reference in New Issue
Block a user