mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
admin page support
This commit is contained in:
@@ -25,11 +25,25 @@ function createApp() {
|
||||
target: document.body,
|
||||
props: {},
|
||||
});
|
||||
case 'admin-login':
|
||||
return new LoginPage({
|
||||
target: document.body,
|
||||
props: {
|
||||
isAdminPage: true,
|
||||
},
|
||||
});
|
||||
case 'not-logged':
|
||||
return new NotLoggedPage({
|
||||
target: document.body,
|
||||
props: {},
|
||||
});
|
||||
case 'admin':
|
||||
return new App({
|
||||
target: document.body,
|
||||
props: {
|
||||
isAdminPage: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
return new App({
|
||||
|
||||
Reference in New Issue
Block a user