1
0
Fork 0

更新 README.md

panliang 2023-12-04 12:58:25 +08:00
parent b186450587
commit 035a1a4bbf
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ return (
WangEditor 编辑器上传图片时, 把登录授权的 `token` 带上
```tsx
import {getToken} from "@/utils/checkLogin"
const token = getToken()
// 编辑器配置
const editorConfig: Partial<IEditorConfig> = {
placeholder: props.placeholder,