This commit is contained in:
yziiy
2025-10-28 11:10:16 +08:00
parent a96c460714
commit f6399b8c4a

View File

@@ -62,7 +62,8 @@ defineExpose({ getRef });
</el-form-item>
<!-- {{ treeData }} -->
<el-form-item label="权限" prop="rules">
<el-tree :data="treeData" ref="treeRef" show-checkbox node-key="id" @check-change="changeCheck" :props="{
<el-tree :check-strictly="true" :data="treeData" ref="treeRef" show-checkbox node-key="id"
@check-change="changeCheck" :props="{
children: 'childlist',
label: 'title'
}">