yapi 创建分组报错

k7fdbhmy  于 2021-12-03  发布在  Java
关注(0)|答案(1)|浏览(353)

版本号

~ 1.5.10

什么问题

~ 创建分组后白屏,控制台报错
TypeError: Cannot read property '_id' of undefined
at Function.a.fetchNewsData [as mapToProps] (index@4fa16f196304fd308122.js:203)
at r (index@4fa16f196304fd308122.js:37)
at l (index@4fa16f196304fd308122.js:37)
at u (index@4fa16f196304fd308122.js:37)
at index@4fa16f196304fd308122.js:37
at Object.run (index@4fa16f196304fd308122.js:37)
at c.onStateChange (index@4fa16f196304fd308122.js:37)
at Object.notify (index@4fa16f196304fd308122.js:37)
at e.notifyNestedSubs (index@4fa16f196304fd308122.js:37)
at c.onStateChange (index@4fa16f196304fd308122.js:37)
l @ lib3@c9528c8fd54171616e0a.js:23
u @ lib3@c9528c8fd54171616e0a.js:23
_ @ lib3@c9528c8fd54171616e0a.js:23
x @ lib3@c9528c8fd54171616e0a.js:23
p @ lib3@c9528c8fd54171616e0a.js:23
h @ lib3@c9528c8fd54171616e0a.js:23
enqueueSetState @ lib3@c9528c8fd54171616e0a.js:22
a.setState @ lib3@c9528c8fd54171616e0a.js:9
c.onStateChange @ index@4fa16f196304fd308122.js:37
notify @ index@4fa16f196304fd308122.js:37
e.notifyNestedSubs @ index@4fa16f196304fd308122.js:37
c.onStateChange @ index@4fa16f196304fd308122.js:37
notify @ index@4fa16f196304fd308122.js:37
e.notifyNestedSubs @ index@4fa16f196304fd308122.js:37
c.onStateChange @ index@4fa16f196304fd308122.js:37
f @ lib@13b835b6394405538fff.js:2
(anonymous) @ index@4fa16f196304fd308122.js:516
(anonymous) @ lib@13b835b6394405538fff.js:6
(anonymous) @ lib@13b835b6394405538fff.js:2
(anonymous) @ index@4fa16f196304fd308122.js:203
r @ index@4fa16f196304fd308122.js:31
(anonymous) @ index@4fa16f196304fd308122.js:31
e.(anonymous function) @ index@4fa16f196304fd308122.js:31
r @ index@4fa16f196304fd308122.js:31
(anonymous) @ index@4fa16f196304fd308122.js:31
Promise.then (async)
r @ index@4fa16f196304fd308122.js:31
(anonymous) @ index@4fa16f196304fd308122.js:31
Promise.then (async)
r @ index@4fa16f196304fd308122.js:31
(anonymous) @ index@4fa16f196304fd308122.js:31
t @ index@4fa16f196304fd308122.js:1
(anonymous) @ index@4fa16f196304fd308122.js:31
e @ index@4fa16f196304fd308122.js:203
e.handleOk @ index@4fa16f196304fd308122.js:38
n.handleClick @ index@4fa16f196304fd308122.js:24
l @ lib3@c9528c8fd54171616e0a.js:22
invokeGuardedCallback @ lib3@c9528c8fd54171616e0a.js:24
invokeGuardedCallbackAndCatchFirstError @ lib3@c9528c8fd54171616e0a.js:24
p @ lib3@c9528c8fd54171616e0a.js:22
v @ lib3@c9528c8fd54171616e0a.js:22
b @ lib3@c9528c8fd54171616e0a.js:22
m @ lib3@c9528c8fd54171616e0a.js:22
k @ lib3@c9528c8fd54171616e0a.js:22
Wr @ lib3@c9528c8fd54171616e0a.js:24
Ee @ lib3@c9528c8fd54171616e0a.js:22
batchedUpdates @ lib3@c9528c8fd54171616e0a.js:23
Q @ lib3@c9528c8fd54171616e0a.js:22
Ne @ lib3@c9528c8fd54171616e0a.js:22
index@4fa16f196304fd308122.js:203 Uncaught (in promise) TypeError: Cannot read property '_id' of undefined
at Function.a.fetchNewsData [as mapToProps] (index@4fa16f196304fd308122.js:203)
at r (index@4fa16f196304fd308122.js:37)
at l (index@4fa16f196304fd308122.js:37)
at u (index@4fa16f196304fd308122.js:37)
at index@4fa16f196304fd308122.js:37
at Object.run (index@4fa16f196304fd308122.js:37)
at c.onStateChange (index@4fa16f196304fd308122.js:37)
at Object.notify (index@4fa16f196304fd308122.js:37)
at e.notifyNestedSubs (index@4fa16f196304fd308122.js:37)
at c.onStateChange (index@4fa16f196304fd308122.js:37)

在查询也查不到

如何复现此问题

~ Nginx反向代理访问,管理员创建

什么浏览器

~ chrome

什么系统(Linux, Windows, macOS)

部署在linux服务器

相关问题