change whole backend and tables for gorm table references
simplify tables with table components close #31
This commit is contained in:
@@ -8,6 +8,8 @@ export default boot(async ({ router }) => {
|
||||
// load user
|
||||
try {
|
||||
const { data } = await appApi.get('/login/me');
|
||||
|
||||
data.role.role = data.role;
|
||||
await userStore.setUser(data);
|
||||
} catch {
|
||||
/* ignore error */
|
||||
|
||||
Reference in New Issue
Block a user