fix: 修复用户可选分组不能选择用户分组 (close #528)

This commit is contained in:
1808837298@qq.com
2024-10-14 16:15:10 +08:00
parent 40baa636e4
commit f599c65944
6 changed files with 38 additions and 14 deletions

View File

@@ -92,7 +92,7 @@ const EditToken = (props) => {
};
const loadGroups = async () => {
let res = await API.get(`/api/user/groups`);
let res = await API.get(`/api/user/self/groups`);
const { success, message, data } = res.data;
if (success) {
// return data is a map, key is group name, value is group description