allow user to use chat role directly, no need to add to workspace

This commit is contained in:
RockYang
2024-07-16 18:28:08 +08:00
parent a6b9f57a50
commit 246b023624
7 changed files with 51 additions and 56 deletions

View File

@@ -105,7 +105,7 @@ checkSession().then((user) => {
loginUser.value = user
isLogin.value = true
// 加载角色列表
httpGet(`/api/role/list?user_id=${user.id}`).then((res) => {
httpGet(`/api/role/list`).then((res) => {
if (res.data) {
const items = res.data
for (let i = 0; i < items.length; i++) {