From c32e3ce2c935f4118b1584bee1fc4664fa7f8a6b Mon Sep 17 00:00:00 2001 From: LiuHao Date: Mon, 17 Apr 2023 21:26:23 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=AE=E6=94=B9tree-select=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=E4=B8=BAele=E5=AE=98=E7=BD=91=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/gen/genInfoForm.vue | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue index d6efd61..54a9a19 100644 --- a/src/views/tool/gen/genInfoForm.vue +++ b/src/views/tool/gen/genInfoForm.vue @@ -67,11 +67,17 @@ - @@ -270,11 +276,12 @@ const setSubTableColumns = (value: string) => { } }) } + /** 查询菜单下拉树结构 */ const getMenuTreeselect = async () => { const res = await listMenu(); const data = proxy?.handleTree(res.data, "menuId"); - if (data) { + if (data) { menuOptions.value = data } }