docs: 📝 角色管理页面注释优化

This commit is contained in:
hxr
2024-06-25 22:58:15 +08:00
parent 0543062363
commit a4dc581eb3

View File

@@ -294,7 +294,7 @@ function handleResetQuery() {
handleQuery(); handleQuery();
} }
/** 行选中 */ /** 行复选框选中记录选中ID集合 */
function handleSelectionChange(selection: any) { function handleSelectionChange(selection: any) {
ids.value = selection.map((item: any) => item.id); ids.value = selection.map((item: any) => item.id);
} }
@@ -440,12 +440,12 @@ function togglePermTree() {
}); });
} }
} }
// 菜单权限筛选
/** 权限筛选 */
watch(permKeywords, (val) => { watch(permKeywords, (val) => {
permTreeRef.value!.filter(val); permTreeRef.value!.filter(val);
}); });
/** 权限筛选 */
function handlePermFilter( function handlePermFilter(
value: string, value: string,
data: { data: {