From 827c151dac25d873c21929b5b0ded81e82937854 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 12 七月 2024 17:27:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/education/department/edit.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/education/department/edit.vue b/src/views/education/department/edit.vue
index 2ef4c75..dcc071f 100644
--- a/src/views/education/department/edit.vue
+++ b/src/views/education/department/edit.vue
@@ -65,6 +65,7 @@
     if (id && parseInt(id) !== 0) {
       _this.formLoading = true
       departmentApi.select(id).then(re => {
+        re.response.parentId = [re.response.parentId]
         _this.form = re.response
         _this.formLoading = false
       })
@@ -147,6 +148,7 @@
         id: null,
         name: '',
         level: 1,
+        parentId: null,
         levelName: ''
       }
       this.form.id = lastId

--
Gitblit v1.8.0