diff --git a/src/api/account.js b/src/api/account.js index 0edfba4..cf5cfc1 100644 --- a/src/api/account.js +++ b/src/api/account.js @@ -89,3 +89,7 @@ export function revenueStats(hostId) { export function getCustomServiceInfo() { return getAxios({ url: '/api/common/custom_service_info' }) } + +export function getCurrent() { + return getAxios({ url: '/api/user/current' }) +} diff --git a/src/components/PermissionMask.vue b/src/components/PermissionMask.vue index 31ec798..48ad210 100644 --- a/src/components/PermissionMask.vue +++ b/src/components/PermissionMask.vue @@ -16,7 +16,22 @@
-
+
+
@@ -67,10 +82,12 @@