20 lines
417 B
JavaScript
20 lines
417 B
JavaScript
import { defineStore } from 'pinia'
|
|
|
|
export const useEmailStore = defineStore('email', {
|
|
state: () => ({
|
|
deleteIds: 0,
|
|
starScroll: null,
|
|
emailScroll: null,
|
|
contentData: {
|
|
email: null,
|
|
delType: null,
|
|
showStar: true,
|
|
showReply: true,
|
|
},
|
|
sendScroll: null,
|
|
}),
|
|
persist: {
|
|
pick: ['contentData'],
|
|
},
|
|
})
|