Only
admin can see this
v-permission="['admin']"
Only
editor can see this
v-permission="['editor']"
Both
admin and
editor can see this
v-permission="['admin','editor']"
{{ $t('permission.tips') }}
e.g.
Admin can see this
v-if="checkPermission(['admin'])"
Editor can see this
v-if="checkPermission(['editor'])"
Both admin or editor can see this
v-if="checkPermission(['admin','editor'])"