This commit is contained in:
暮光:城中城
2021-11-29 23:20:51 +08:00
parent f587f7c54b
commit 865c14d95b
21 changed files with 42 additions and 35 deletions

View File

@@ -51,6 +51,7 @@
searchKeywords.value = keyword;
zyplayerApi.apiDocApisDetail({id: docId}).then(res => {
let v2Doc = toJsonObj(res.data);
// osdoc.swagger 和 doc.openapi 的区别
if (typeof v2Doc !== 'object' || !v2Doc.openapi) {
message.error('获取文档数据请求失败');
return;