代码拉取完成,页面将自动刷新
90
数据存在枚举值时,SwaggerModel无法正常展开,枚举值无法查看 spropObj 2283 对象未定义
已合并
数据存在枚举值时,SwaggerModel无法正常展开,枚举值无法查看
vue.runtime.esm.js:3049 ReferenceError: spropObj is not defined
at SwaggerBootstrapUi.analysisDefinitionRefTableModel (Knife4jAsync.js:2283:1)
at eval (SwaggerModels.vue:138:1)
at Array.forEach (<anonymous>)
at VueComponent.modelChange (SwaggerModels.vue:122:1)
at invokeWithErrorHandling (vue.runtime.esm.js:3017:1)
at VueComponent.invoker (vue.runtime.esm.js:1815:1)
at invokeWithErrorHandling (vue.runtime.esm.js:3017:1)
at Vue.$emit (vue.runtime.esm.js:3716:1)
at VueComponent.setActiveKey (Collapse.js:140:1)
at VueComponent.onClickItem (Collapse.js:76:1)
这是枚举的结构
"components": {
"schemas": {
"ErrorCode": {
"enum": [
0,
999,
1000,
1007,
9999,
10000,
10001,
10020,
10030,
10040,
10050,
10060,
10070,
10100,
10140
],
"type": "integer",
"description": "注释ErrorCode",
"format": "int32"
},
}
}