Add permissions

This commit is contained in:
xue jiahao
2024-12-24 22:17:18 +08:00
parent 5ebfd22652
commit a92873b971
11 changed files with 173 additions and 103 deletions

View File

@@ -1,5 +1,6 @@
<template>
<q-item
v-permissions="permission"
clickable
tag="a"
:target="target?target:'_blank'"
@@ -35,6 +36,7 @@ export interface EssentialLinkProps {
isSeparator?: boolean;
target?:string;
disable?:boolean;
permission?: string
}
withDefaults(defineProps<EssentialLinkProps>(), {
caption: '',