14 lines
440 B
TypeScript
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 }
|
|
})
|