🎈 perf:优化权限选择框

This commit is contained in:
preschooler
2024-08-21 14:47:05 +08:00
parent 323e6197b1
commit 98a95e6e88
3 changed files with 5 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
<el-tag>{{ formData.code }}</el-tag>
</el-form-item>
<el-form-item label="菜单权限">
<el-card class="cardHeight">
<el-card class="w-full h-400px !overflow-y-scroll" shadow="never">
<template #header>
全选/全不选:
<el-switch
@@ -151,10 +151,3 @@ const handleCheckedTreeExpand = () => {
}
}
</script>
<style lang="scss" scoped>
.cardHeight {
width: 100%;
max-height: 400px;
overflow-y: scroll;
}
</style>