From 170ed08b45b80775bc7ee669aa77caeaceeb32d2 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 19 Dec 2024 16:53:52 +0800 Subject: [PATCH] fix --- .env | 4 ++-- .env.test | 2 +- src/views/product/strategy/151/Detail.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index e2a3828..79153fd 100644 --- a/.env +++ b/.env @@ -2,8 +2,8 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘 VITE_PORT=9520 # VITE_PROXY=http://192.168.31.125:8080 VITE_PUBLIC_PATH=./ -# VITE_BASE_API=http://192.168.31.217:9000 -VITE_BASE_API=http://121.37.12.51 +VITE_BASE_API=http://192.168.31.51:9000 +# VITE_BASE_API=http://121.37.12.51 # VITE_BASE_API=https://www.occupationlab.com VITE_I18N_LOCALE=zh-cn VITE_I18N_FALLBACK_LOCALE=zh-cn diff --git a/.env.test b/.env.test index 8d04c4b..01ed17a 100644 --- a/.env.test +++ b/.env.test @@ -1 +1 @@ -VITE_BASE_API=http://121.37.12.51 \ No newline at end of file +VITE_BASE_API=https://www.occupationlab.com \ No newline at end of file diff --git a/src/views/product/strategy/151/Detail.vue b/src/views/product/strategy/151/Detail.vue index 3885eae..74019fc 100644 --- a/src/views/product/strategy/151/Detail.vue +++ b/src/views/product/strategy/151/Detail.vue @@ -196,7 +196,7 @@ const addRecord = async (data: Record) => { const len = e?.recordChildren?.length - 1; e?.recordChildren.map((n, j) => { const val = j ? e.ruleTwo : e.ruleOne; - j !== len && val && rule.push(handleId(n.id, n.subjectId, val, `${preIds},${e.stRecordId},${n.id}`, 5)); + j !== len && j !== len - 1 && val && rule.push(handleId(n.id, n.subjectId, val, `${preIds},${e.stRecordId},${n.id}`, 5)); }); } // 多选框