新版本官网优化完成
This commit is contained in:
@@ -11,7 +11,7 @@ export const request = <T>(url:string, options?: UseFetchOptions<T, unknown>) =>
|
||||
onRequest({ options }: any){
|
||||
let token = ''
|
||||
if(import.meta.client){
|
||||
token = useToken().value
|
||||
token = `${useToken().value}`
|
||||
}
|
||||
options.headers = {
|
||||
TenantId,
|
||||
|
||||
Reference in New Issue
Block a user