docs: update request and access docs (#5468)

* fix: Update server.md

* docs: update request and access docs
This commit is contained in:
jsxz
2025-02-03 16:29:34 +08:00
committed by GitHub
parent 67d1f299b3
commit a832edce0d
2 changed files with 12 additions and 14 deletions

View File

@@ -296,7 +296,7 @@ const { hasAccessByRoles } = useAccess();
#### 指令方式
> 指令支持绑定单个或多个权限码。单个时可以直接传入字符串或数组中包含一个权限码,多个权限码则传入数组。
> 指令支持绑定单个或多个角色。单个时可以直接传入字符串或数组中包含一个角色,多个角色均可访问则传入数组。
```vue
<template>