style(项目设置): 用户组查看权限抽屉修改
This commit is contained in:
parent
720914501e
commit
34f970fdb2
|
@ -48,6 +48,7 @@
|
|||
</a-table>
|
||||
</div>
|
||||
<div
|
||||
v-if="props.showBottom"
|
||||
class="fixed bottom-[16px] right-[16px] z-[999] flex justify-between bg-white p-[24px] shadow-[0_-1px_4px_rgba(2,2,2,0.1)]"
|
||||
:style="{ width: props.width }"
|
||||
>
|
||||
|
@ -93,10 +94,16 @@
|
|||
isLastLeftFixed?: boolean;
|
||||
}
|
||||
|
||||
const props = defineProps<{
|
||||
current: CurrentUserGroupItem;
|
||||
width?: string;
|
||||
}>();
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
current: CurrentUserGroupItem;
|
||||
width?: string;
|
||||
showBottom?: boolean;
|
||||
}>(),
|
||||
{
|
||||
showBottom: true,
|
||||
}
|
||||
);
|
||||
|
||||
const systemType = inject<AuthScopeEnum>('systemType');
|
||||
|
||||
|
@ -346,6 +353,9 @@
|
|||
initData(props.current.id, props.current.internal);
|
||||
}
|
||||
});
|
||||
defineExpose({
|
||||
canSave,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
:mask="false"
|
||||
@cancel="authVisible = false"
|
||||
>
|
||||
<AuthTable ref="authRef" :current="currentItem" />
|
||||
<AuthTable ref="authRef" :show-bottom="false" :current="currentItem" />
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-between">
|
||||
<ms-button class="btn" :disabled="!canSave" @click="handleAuthReset">{{
|
||||
|
|
Loading…
Reference in New Issue