From a1543bccf6b616d2db9d44b762826d58887172a6 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期二, 10 六月 2025 18:57:57 +0800 Subject: [PATCH] refactor(zhitan-system):优化获取节点ID列表的逻辑- 移除了过滤条件中的 parentNode 节点 ID 比较逻辑 - 现在只根据父节点 ID 是否非空来筛选 modelNodeList --- zhitan-vue/vite.config.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/zhitan-vue/vite.config.js b/zhitan-vue/vite.config.js index f1a1f6e..ef4c075 100644 --- a/zhitan-vue/vite.config.js +++ b/zhitan-vue/vite.config.js @@ -33,9 +33,14 @@ proxy: { // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { - target: "http://localhost:8080", + target: "http://localhost:8088", changeOrigin: true, - rewrite: (p) => p.replace(/^\/dev-api/, ""), + rewrite: (p) => p.replace(/^\/dev-api/, "/"), + }, + "/prod-api": { + target: "http://localhost:8088", + changeOrigin: true, + secure: true, }, }, }, -- Gitblit v1.9.3