恢复用户列表功能
This commit is contained in:
@@ -48,6 +48,14 @@ export function getTenantId() {
|
||||
return getDomainPart1();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取根域名
|
||||
* hostname
|
||||
*/
|
||||
export function getHostname(): string {
|
||||
return window.location.hostname;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取域名
|
||||
* @return https://www.domain.com
|
||||
|
||||
Reference in New Issue
Block a user