- request interceptor: treat flag=failure / success=false as a business error even when code is 0 (the gateway returns code 0 for login failures), so the backend message is shown instead of being swallowed - tag already-notified errors so callers do not toast twice - user store: throw a readable error when the login response has no token (previously crashed on null.token and the login page silently ignored it) - login page: show an error message for errors the interceptor did not report - replace the remote gw.alipayobjects.com decoration with a local svg Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
newproject
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build
Description
Languages
Vue
56.9%
JavaScript
22.7%
TypeScript
20%
SCSS
0.3%