Skip to content

Commit d951891

Browse files
authored
Merge pull request #80 from TAYUN/patch-4
docs[09-openapi-integration.md]:修复 OpenAPI 生成器配置示例中的globalThis处缺失逗号
2 parents 2ccab8b + b088922 commit d951891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n/zh-CN/docusaurus-plugin-content-docs/current/tutorial/02-getting-started/09-openapi-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ module.exports = defineConfig({
141141
/**
142142
* 全局api对象挂载的宿主对象,默认为 `globalThis`,在浏览器中代表 `window`,在nodejs中代表 `global`
143143
*/
144-
globalHost: 'globalThis'
144+
globalHost: 'globalThis',
145145

146146
/**
147147
* (可选)过滤或转换生成的api接口函数,返回一个新的apiDescriptor来生成api调用函数,未指定此函数时则不转换apiDescripor对象

0 commit comments

Comments
 (0)