fix ts lint warning: Strings must use singlequote

This commit is contained in:
2025-02-05 17:14:34 +08:00
parent a7788c87be
commit 14191e4f1e
35 changed files with 127 additions and 127 deletions

View File

@@ -9,7 +9,7 @@ export class Auth
params.append('username', user);
params.append('password', pwd);
try{
const result = await api.post(`api/token`,params);
const result = await api.post('api/token',params);
console.info(result);
localStorage.setItem('Token', result.data.access_token);
return true;