!509 【优化】优化权限选择框

Merge pull request !509 from 半栈幼儿员/hotfix/permission-form
This commit is contained in:
芋道源码
2024-08-23 11:27:12 +00:00
committed by Gitee
3 changed files with 5 additions and 19 deletions

View File

@@ -11,7 +11,7 @@
<el-input v-model="formData.name" placeholder="请输入套餐名" />
</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
@@ -185,10 +185,3 @@ const handleCheckedTreeExpand = () => {
}
}
</script>
<style lang="scss" scoped>
.cardHeight {
width: 100%;
max-height: 400px;
overflow-y: scroll;
}
</style>