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) +})