配置项很长而保存按钮只在顶端,配置完要滚回顶部才能保存,体验差。改为: - 顶部标题与操作固定,中间设置项区独立滚动(overflow-y:auto + overscroll-behavior:contain) - 底部新增固定操作条(刷新 / 保存,与顶部按钮等效,带说明文案) - 补全页面 flex 高度链路(flex:1 + height:100% + min-height:0),使长表单只在设置项区域滚动
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%