✨ Deletion
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { defineStore } from "pinia"
|
||||
import { reactive, ref } from "vue"
|
||||
import { getAtk } from "@/stores/userinfo"
|
||||
|
||||
export const useEditor = defineStore("editor", () => {
|
||||
const done = ref(false)
|
||||
@ -7,14 +8,22 @@ export const useEditor = defineStore("editor", () => {
|
||||
const show = reactive({
|
||||
moment: false,
|
||||
article: false,
|
||||
comment: false
|
||||
comment: false,
|
||||
delete: false
|
||||
})
|
||||
|
||||
const related = reactive<{ edit_to: any; comment_to: any; reply_to: any; repost_to: any }>({
|
||||
const related = reactive<{
|
||||
edit_to: any
|
||||
comment_to: any
|
||||
reply_to: any
|
||||
repost_to: any
|
||||
delete_to: any
|
||||
}>({
|
||||
edit_to: null,
|
||||
comment_to: null,
|
||||
reply_to: null,
|
||||
repost_to: null
|
||||
repost_to: null,
|
||||
delete_to: null
|
||||
})
|
||||
|
||||
return { show, related, done }
|
||||
|
Reference in New Issue
Block a user