refactor(测试计划): 高级筛选-计划详情页关联抽屉-切换项目清除筛选

This commit is contained in:
teukkk 2024-10-17 14:54:55 +08:00 committed by 刘瑞斌
parent ce30bac830
commit 6b30302fca
3 changed files with 10 additions and 1 deletions

View File

@ -789,6 +789,14 @@
clearSelector();
}
});
watch(
() => innerProject.value,
(val) => {
if (val) {
msAdvanceFilterRef.value?.clearFilter();
}
}
);
</script>
<style scoped lang="less">

View File

@ -364,6 +364,7 @@
}
defineExpose({
clearFilter,
isAdvancedSearchMode,
});
</script>

View File

@ -62,7 +62,7 @@
</popConfirm>
</div>
</div>
<a-spin class="w-full" :style="{ height: `calc(100vh - 248px)` }" :loading="loading">
<a-spin class="w-full" :style="{ height: `calc(100vh - 273px)` }" :loading="loading">
<MsTree
v-model:focus-node-key="focusNodeKey"
v-model:selected-keys="selectedKeys"