You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
但是刷新页面后,提示服务器500,查看是data-center报了错,有个物料JSON无法parse成功
[2024-03-28T11:17:34.667Z] debug GET /apps/918 (119 ms) 200
[2024-03-28T11:17:34.698Z] error SyntaxError: Expected ',' or '}' after property value in JSON at position 1257
SyntaxError: Expected ',' or '}' after property value in JSON at position 1257
at JSON.parse ()
检查数据库中新增的物料,确实无法parse,删除物料后刷新页面正常进入
建议入库前做个JSON校验
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically.
You synchronize material data to the back-end database through the front-end script. There is a problem with the inserted data. There is json format data, but the data you put into the database is not json, so this error is reported. Check the data format of the components in the database.
Environment
Chrome 版本 122.0.6261.129(正式版本) (64 位)
Version
v16.20.2
Version
@opentiny/[email protected]
Link to minimal reproduction
最新
Step to reproduce
但是刷新页面后,提示服务器500,查看是data-center报了错,有个物料JSON无法parse成功
[2024-03-28T11:17:34.667Z] debug GET /apps/918 (119 ms) 200
[2024-03-28T11:17:34.698Z] error SyntaxError: Expected ',' or '}' after property value in JSON at position 1257
SyntaxError: Expected ',' or '}' after property value in JSON at position 1257
at JSON.parse ()
检查数据库中新增的物料,确实无法parse,删除物料后刷新页面正常进入
建议入库前做个JSON校验
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered: