Files
web-temp/layers/stores/useCallerInfoStore.ts
2025-10-29 20:56:58 +09:00

14 lines
440 B
TypeScript

export const useCallerInfoStore = defineStore('callerInfoStore', () => {
const callerId = ref<string | null>('')
const callerDetail = ref<string | null>('')
const setCallerId = (paramCallerId: string | null) => {
callerId.value = paramCallerId
}
const setCallerDetail = (paramCalleDetail: string | null) => {
callerDetail.value = paramCalleDetail
}
return { callerId, callerDetail, setCallerId, setCallerDetail }
})