This commit is contained in:
Your Name
2026-03-01 14:17:59 +08:00
parent 65aa12f146
commit a07e844c47
6071 changed files with 777651 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/**
* @description 获取客户端类型
*/
export function getClient() {
return useRuntimeConfig().public.client
}
/**
* @description 获取版本号
*/
export function getVersion() {
return useRuntimeConfig().public.version
}
/**
* @description 获取请求域名
*/
export function getApiUrl() {
return useRuntimeConfig().public.apiUrl
}
/**
* @description 获取请求前缀
*/
export function getApiPrefix() {
return useRuntimeConfig().public.apiPrefix
}