mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
docs: 更新文档
This commit is contained in:
parent
67ec736e70
commit
ea135b87c3
@ -356,14 +356,14 @@ export const access = {
|
||||
|
||||
## API
|
||||
|
||||
### useTitle
|
||||
### useTabTitle
|
||||
类型定义如下:
|
||||
```ts
|
||||
function useTitle(title: string | Ref<string>): void;
|
||||
function useTabTitle(title: string | Ref<string>): void;
|
||||
```
|
||||
|
||||
|
||||
当使用多页签模式时,在页面中使用 `useTitle` 可以自定义页面标签:
|
||||
当使用多页签模式时,在页面中使用 `useTabTitle` 可以自定义页面标签:
|
||||
```vue
|
||||
<script setup>
|
||||
import { useRoute, useTabTitle } from '@fesjs/fes';
|
||||
|
Loading…
x
Reference in New Issue
Block a user