From 1d88c54c080203dcdf286d76370bcfcc71580f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 27 Mar 2023 11:53:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E9=83=A8=E9=97=A8=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dept/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 10d3f8d..8f1c7be 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -238,7 +238,7 @@ function handleUpdate(row) { listDeptExcludeChild(row.deptId).then(response => { deptOptions.value = proxy.handleTree(response.data, "deptId"); if (deptOptions.value.length == 0) { - const noResultsOptions = { deptId: proxy.form.parentId, deptName: proxy.form.parentName, children: [] }; + const noResultsOptions = { deptId: form.value.parentId, deptName: form.value.parentName, children: [] }; deptOptions.value.push(noResultsOptions); } });