This commit is contained in:
吴红兵
2025-12-02 10:37:49 +08:00
commit 1f645dad3e
1183 changed files with 147673 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
description: Best practices for Axios HTTP requests
globs: *.ts,*.vue
alwaysApply: false
---
- Refer to `src/api/admin/audit.ts` as a template to make an API call with the same effect
- The API method must be called using the synchronous syntax await, and then the result is deconstructed
- All axios call logic needs to be placed in `src/api`