From 4b1058cff30d184e4dc4908dc308a68cf98f7c61 Mon Sep 17 00:00:00 2001 From: lai <10633968+laiyujun1@user.noreply.gitee.com> Date: Fri, 13 Dec 2024 16:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=A1=A8=E5=8D=95=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perfManage/customTarget/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/perfManage/customTarget/index.vue b/src/views/perfManage/customTarget/index.vue index 7c7e913b..3a627644 100644 --- a/src/views/perfManage/customTarget/index.vue +++ b/src/views/perfManage/customTarget/index.vue @@ -387,8 +387,10 @@ function fnModalOk() { message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3); return false; } - modalState.from.expression = result; - const from = toRaw(modalState.from); + //modalState.from.expression = result; + //const from = toRaw(modalState.from); + const from = { ...toRaw(modalState.from) }; + from.expression = result; //return false; modalState.confirmLoading = true; const perfTask = from.id ? updateCustom(from) : addCustom(from);