From 0ad49e9b9d5bf134c377dff4c93db64ba75b2a69 Mon Sep 17 00:00:00 2001 From: songjianjack <1400053039@qq.com> Date: Mon, 12 Aug 2024 09:38:04 +0000 Subject: [PATCH] =?UTF-8?q?update=20Yi.RuoYi.Vue3/src/views/system/dept/in?= =?UTF-8?q?dex.vue.=20=E8=A7=A3=E5=86=B3=E6=96=B0=E5=A2=9E=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E4=B8=8A=E7=BA=A7?= =?UTF-8?q?=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: songjianjack <1400053039@qq.com> --- Yi.RuoYi.Vue3/src/views/system/dept/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.RuoYi.Vue3/src/views/system/dept/index.vue b/Yi.RuoYi.Vue3/src/views/system/dept/index.vue index 6f402e9d..32b73c1e 100644 --- a/Yi.RuoYi.Vue3/src/views/system/dept/index.vue +++ b/Yi.RuoYi.Vue3/src/views/system/dept/index.vue @@ -227,7 +227,7 @@ function resetQuery() { function handleAdd(row) { reset(); listDept().then(response => { - deptOptions.value = proxy.handleTree(response.data, "id"); + deptOptions.value = proxy.handleTree(response.data.items, "id"); }); if (row != undefined) { console.log(row.deptId);