refactor: restructure pinia stores, fix calendar, add utilities

- Restructure Pinia store organization from src/stores/ to src/store/ with modular stores
- Update main.ts to use locally created Pinia instance instead of imported pre-configured one
- Fix template syntax errors in Calendar component: correct missing class spacing and incorrect closing tags
- Remove unused calendar demo/example files and documentation
- Add new constant files, token management utilities, and client configuration constants
- Add custom hooks useGoHome and useGoLogin for navigation and login logic
This commit is contained in:
duanshuwen
2026-05-26 23:02:05 +08:00
parent ac8f5b5f64
commit c977c485ef
20 changed files with 344 additions and 1494 deletions

1
src/hooks/useGoHome.ts Normal file
View File

@@ -0,0 +1 @@
export const goHome = () => uni.reLaunch({ url: "/pages/index/index" });