From 2da8fcca4419fcb4bf02d5638df3c122289b8f4f Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Wed, 11 Sep 2024 18:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/govern/manage/basic/popupDictionary.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/govern/manage/basic/popupDictionary.vue b/src/views/govern/manage/basic/popupDictionary.vue index 534c080..eb7522b 100644 --- a/src/views/govern/manage/basic/popupDictionary.vue +++ b/src/views/govern/manage/basic/popupDictionary.vue @@ -295,7 +295,11 @@ const open = (text: string, data?: anyObj) => { dialogVisible.value = true if (data) { for (let key in form) { - form[key] = data[key] === '/' ? null : data[key] + if (key == 'statMethod') { + form[key] = data[key].split(',') + } else { + form[key] = data[key] === '/' ? null : data[key] + } } form.harm = [form.harmStart, form.harmEnd] } else {