- 新增 localServerApi.ts: 本地代理 API (通道列表/连通测试/实时流) - 新增 localCameraServer store: 管理本机多端口连接 - 新增 CameraPreviewDialog: 摄像头预览弹窗 (RTSP→MJPEG, 内外网回退) - 新增 CameraPlayer: 海康SDK播放器组件(备用) - 录像服务器列表增加连通测试按钮(先内网后公网) - 摄像头表单选择服务器后自动拉取通道列表 - 通道选中自动填充设备信息(IP/端口/型号/序列号) - camera API create/update 入参扩充(ip/port/model/serial_number/stream_type) - custom_name 改为必填 - vite.config.ts 增加 /ISAPI 代理转发 - public/hikvision/ 海康Web SDK静态资源
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%