diff --git a/web/src/components/device/EventEditor.vue b/web/src/components/device/EventEditor.vue index 4629a3c..80b8d3b 100644 --- a/web/src/components/device/EventEditor.vue +++ b/web/src/components/device/EventEditor.vue @@ -13,15 +13,15 @@

视频区域

-
-
- -
+
+
+ +
@@ -66,74 +66,92 @@

事件绑定与算法绑定

- + 新增事件 - +
- -
- -
-
- - + +
+
+ +
+
+ + + + + + + + +
+ +
+ + +
+ +
+ + + + + + + +
-
- - + +
+
+ + +
+
+ + + + +
+
+ + +
-
- - - - - - - -
-
+ +
+
+ + +
- -
-
- - -
-
- - - - -
-
- - -
-
- - -
- -
- - - - +
+ + + + +
@@ -203,7 +221,7 @@ \ No newline at end of file diff --git a/web/vite.config.js b/web/vite.config.js index 47c643f..69c20ad 100644 --- a/web/vite.config.js +++ b/web/vite.config.js @@ -4,6 +4,11 @@ import path from 'path' export default defineConfig({ plugins: [vue()], + server: { + host: '0.0.0.0', // 监听所有网络接口 + port: 5173, // 默认端口 + strictPort: true // 如果端口被占用则退出 + }, resolve: { alias: { '@': path.resolve(__dirname, './src'),