@@ -331,7 +331,7 @@
const tranformDeptList = (arr: DeptTreeItem[]) => {
if (arr && arr.length === 0) return '--';
- return arr?.map((item) => item.deptName).join('-');
+ return arr.at(-1)?.deptName;
};
</script>
<style scoped>