store命名优化

This commit is contained in:
bob
2025-03-29 21:59:35 +08:00
parent 0b39027d9d
commit 48387b74c7
56 changed files with 202 additions and 178 deletions

View File

@@ -1,9 +1,9 @@
<script setup>
import { onMounted } from 'vue'
import { User, Key, Bell } from '@element-plus/icons-vue'
import { messageStore } from '@/stores'
import { useMessageStore } from '@/stores'
const messageData = messageStore()
const messageData = useMessageStore()
onMounted(async () => {
await messageData.loadSessionList()