- 注释掉 CustomLogin.vue 中的 fetch 请求,直接使用 setToken 进行登录 - 新增 LinkCard.js 模型文件,用于创建链接卡片组件 - 重构 HomeView.vue,使用新的 LinkCard 组件替换原有的 moduleCard 类 - 在 fetchInterceptor.js 中添加 console.log,用于调试输出修改后的数据 |
||
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| index.html | ||
| jsconfig.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
vue-project
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint