You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
699 B
1 lines
699 B
import{f as a,a4 as s}from"./index-909bd241.js";const t=a("chat",{state:()=>({messages:[],isLoading:!1,UserCount:0,chartData:[],kLineData:[],dbqbClickRecord:{},searchRecord:!1,currentUserIndex:null,inputUserIndex:null,announcementMsg:null,aiChatCall:!1,aiEmotionCall:!1,chatInput:!1,emotionInput:!1,firstAPICall:!1,dbqbScrollToTop:!0}),actions:{async getUserCount(){const a=await s({token:localStorage.getItem("localToken"),source:"1"});this.UserCount=a.data},setLoading(a){this.isLoading=a},isLoadingT(){this.isLoading=!0},isLoadingF(){this.isLoading=!1},addKLineData(a){this.kLineData.push(a)}},persist:{key:"chat_messages",storage:sessionStorage,paths:["messages","kLineData"]}});export{t as u};
|