This commit is contained in:
2026-04-04 21:05:22 +08:00
parent 512dba4346
commit 550646b7d7
6 changed files with 74 additions and 7 deletions
+18
View File
@@ -0,0 +1,18 @@
//用于保存其他用户的信息
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useUsersStore = defineStore('users', () => {
const usersInfo =ref([]);
function getUsernameFromUserID(userID){
return "123"
}
return{
usersInfo,getUsernameFromUserID,
}
})