update 完善了部分开发文档

This commit is contained in:
2021-04-28 17:08:06 +08:00
parent aac183749b
commit 8c429bcde6
23 changed files with 633 additions and 50 deletions

View File

@@ -0,0 +1,14 @@
<template>
<section>
<!-- 简单的权限标识 -->
<Auth auth="sysApp:page">
<a-button>按钮1</a-button>
</Auth>
<!-- 多个并且关系的权限标识 -->
<Auth :auth="['sysApp:page', 'sysApp:add']"></Auth>
<!-- 多个或者关系的权限标识 -->
<Auth :auth="[['sysApp:page'], ['sysApp:add']]"></Auth>
<!-- 前缀简化 -->
<Auth :auth="{ sysApp: ['page', 'add'] }"></Auth>
</section>
</template>