From 31ab2edfa500364818d2cc2c30acc1f4ae5b8dac Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 20 八月 2024 17:25:30 +0800
Subject: [PATCH] bug修改

---
 src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue b/src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue
index 0397087..3025696 100644
--- a/src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue
+++ b/src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue
@@ -113,7 +113,7 @@
   title.value = type === 'addFirst' || type === 'add' ? '新增部门' : type ==='edit' ? '编辑部门' : '' ;
   if(type === 'edit') {
     state.isFirst = true;
-    state.form = value;
+    state.form = JSON.parse(JSON.stringify(value));
     state.form.status = value.status == 0;
     state.form.sort = value.sort;
     state.form.parentId = value.parentId;

--
Gitblit v1.9.2