From ca039ff85d941d8f5c0a1df4784d6542f4316b08 Mon Sep 17 00:00:00 2001
From: wanchun <445436867@qq.com>
Date: Mon, 5 Dec 2022 14:26:17 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/reference/plugin/plugins/layout.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/reference/plugin/plugins/layout.md b/docs/reference/plugin/plugins/layout.md
index 88c39e24..0b0e11e2 100644
--- a/docs/reference/plugin/plugins/layout.md
+++ b/docs/reference/plugin/plugins/layout.md
@@ -133,7 +133,7 @@ export default {
```js
import UserCenter from '@/components/UserCenter';
export const layout = {
- renderHeader: () => ,
+ renderCustom: () => ,
menus: [
{
name: 'index',
@@ -147,7 +147,7 @@ export const layout = {
```js
export const layout = (layoutConfig, { initialState }) => ({
- renderHeader: () => ,
+ renderCustom: () => ,
menus: () => {
const menusRef = ref(layoutConfig.menus);
watch(