feat:等保
1. dropdown 和 button 两层都需要加上v-auth
This commit is contained in:
@ -26,7 +26,7 @@
|
|||||||
<a-menu-item key="3">表单</a-menu-item>
|
<a-menu-item key="3">表单</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
<a-button type="primary" >
|
<a-button type="primary" v-auth="'role:functionalAuth'" >
|
||||||
{{ t('功能授权') }}
|
{{ t('功能授权') }}
|
||||||
<DownOutlined />
|
<DownOutlined />
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user