up
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user