feat:完善用户表单页面对接

This commit is contained in:
chenchun
2024-08-30 17:36:33 +08:00
parent 60ef93b510
commit 6e9dd669ba
11 changed files with 69 additions and 76 deletions

View File

@@ -84,7 +84,7 @@ export function setToken(data: DataInfo<Date>) {
permissions
});
}
console.log(data,"storeData");
if (data.username && data.roles) {
const { username, roles } = data;
setUserKey({