From cbd91fcc86f1db030b7fbddc35347dc6561772be Mon Sep 17 00:00:00 2001 From: suyanyan <1321717064@qq.com> Date: Wed, 18 Sep 2024 14:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SafeCampus.WEB/src/views/userManage/clothing/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SafeCampus.WEB/src/views/userManage/clothing/index.vue b/SafeCampus.WEB/src/views/userManage/clothing/index.vue index afebc03..8283a89 100644 --- a/SafeCampus.WEB/src/views/userManage/clothing/index.vue +++ b/SafeCampus.WEB/src/views/userManage/clothing/index.vue @@ -10,7 +10,7 @@ label="clothSetName" id="clothSetId" width="300px" - :show-all="false" + :show-all="true" :request-api="userManageClothApi.getList" @change="changeTreeFilter" > @@ -171,13 +171,16 @@ function changeTreeFilter(val: number | string) { } // 获取列表 const getList = (clothSetId:any)=>{ - if(!clothSetId) return false + // if(!clothSetId) return false userManageClothApi.page({clothSetId:clothSetId}).then((resp:any)=>{ if(resp.code == 200){ tableData.value = resp.data } }) } +onMounted(() => { + getList(clothSetId.value) +})