@@ -48,7 +48,9 @@ export default { | |||
const data = reactive({ | |||
...toRefs(table), | |||
search | |||
search, | |||
permissionList: permissionStore.accessPermissionCodes | |||
}) | |||
const getPermissionLabel = (code) => { | |||
return permissionStore.accessPermissions.find((item) => { |
@@ -20,7 +20,6 @@ | |||
</DataTable> | |||
</n-card> | |||
</div> | |||
{{ permissionStore.getToken }} | |||
<!-- 新增、编辑弹窗 --> | |||
<RoleModal v-if="modalShow" v-model:visible="modalShow" :data="rowData" :type="modalType" @reload="handleSearch" /> | |||
<AuthModal v-if="relateShow" v-model:visible="relateShow" :data="rowData" :type="modalType" @reload="handleSearch" /> |