功能变化: 去掉菜单接口返回多余字段
parent
75db7ae163
commit
6f99989def
|
@ -136,7 +136,8 @@ class WebRouterSerializer(CustomModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = Menu
|
||||
fields = "__all__"
|
||||
fields = ('id', 'parent', 'icon', 'sort', 'path', 'name', 'title', 'is_link', 'is_catalog', 'web_path', 'component',
|
||||
'component_name', 'cache', 'visible', 'menuPermission')
|
||||
read_only_fields = ["id"]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue