Skip to content

Commit ae3b81b

Browse files
committed
🐛 Fix: error texts
1 parent ad08273 commit ae3b81b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/zh/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ const res = await ctx.request(opt) // { status: number, data: IRes }
426426

427427
import { IReqOptionsWithArrayBufferRes } from 'picgo'
428428

429-
const opt: IReqOptions = {
429+
const opt: IReqOptionsWithArrayBufferRes = {
430430
method: 'post',
431431
url: 'xxxx',
432432
data: {},
@@ -440,7 +440,7 @@ const res = await ctx.request(opt) // { status: number, data: Buffer }
440440

441441
import { IReqOptionsWithBodyResOnly } from 'picgo'
442442

443-
const opt: IReqOptions = {
443+
const opt: IReqOptionsWithBodyResOnly = {
444444
method: 'post',
445445
url: 'xxxx',
446446
data: {},

docs/zh/dev-guide/gui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ const guiMenu = ctx => {
337337
- zh-TW
338338
- en
339339

340-
如果你的插件希望添加多语言支持,可以参考 [cli-i18n](zh/dev-guide/cli/#i18n-国际化) 一节。
340+
如果你的插件希望添加多语言支持,可以参考 [cli-i18n](/zh/dev-guide/cli/#i18n-国际化) 一节。
341341

342342
如果你希望给 PicGo-GUI 添加一种默认的新语言支持,参考[文档](https://github.com/Molunerfinn/PicGo/blob/dev/CONTRIBUTING.md#i18n)
343343

0 commit comments

Comments
 (0)