diff --git a/SafeCampus.WEB/src/views/userManage/clothing/index.vue b/SafeCampus.WEB/src/views/userManage/clothing/index.vue
index 4dfb22e..c7bba0a 100644
--- a/SafeCampus.WEB/src/views/userManage/clothing/index.vue
+++ b/SafeCampus.WEB/src/views/userManage/clothing/index.vue
@@ -7,6 +7,7 @@
();
const treeFilter = ref({});
+const showTree = ref(true);
const userStore = useUserStore();
const { accessToken } = userStore;
const tableData = ref([])
@@ -161,6 +163,10 @@ const RefreshTable = () => {
}
// 刷新表格+树
const RefreshTree = async() => {
+ showTree.value = false;
+ nextTick(() => {
+ showTree.value = true;
+ })
await getTree(); //刷新树形筛选器
await getList(clothSetId.value)
}
@@ -185,7 +191,8 @@ const getList = (clothSetId:any)=>{
const getTree =async ()=>{
const { data }:any = await userManageClothApi.getList({});
treeData.value = data;
- if(!clothSetId.value ){
+ showTree.value = true
+ if(!clothSetId.value){
clothSetId.value = data[0].clothSetId.toString()
}