Skip to content

文章-分类目录,接口返回了数据但前端未展示 #412

@yingzaicc

Description

@yingzaicc

检查清单

是什么版本出现了此问题?

v1.1.4

使用的什么数据库?

SQLite3

使用的哪种方式部署?

Docker

在线站点地址

http://115.120.116.196

发生了什么?

接口返回的目录列表中,包含了“系统”、“MySQL”,但是这两个项未展示在前端页面上,如图所示:

Image

相关日志输出

附加信息

复现过程

和我创建目录分类的操作有关,我直接创建了类似 /categories/system 这样一个分类,但是 parentId 和 priority 这两个值不太对劲,要么是前端没传过来,要么是接口处理有误。

临时修复方法

把 SQLite 中存放的这两个项的值改一下,应该就可以了,稍后我先尝试一下

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions