Open river1017 opened 1 week ago
当在编辑页配置了app类型的组件后,点击会导致页面重叠
配置数据如下: { "type": "app", "id": "u:3a9f5b75cd84", "brandName": "应用开发", "pages": [ { "label": "Home", "url": "/", "redirect": "/hook" }, { "children": [ { "label": "概览", "url": "setting", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=setting" }, { "label": "函数配置", "url": "config", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionConfig" }, { "label": "函数商店", "url": "shop", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionShop" }, { "label": "函数列表", "url": "hook", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionList" } ] } ] } 代码编辑页: 编辑页点击后效果:
你是如何使用 amis 的? 使用官方的demo进行测试,拉取最新的代码到本地后配置也存在问题
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "app", "id": "u:3a9f5b75cd84", "brandName": "应用开发", "pages": [ { "label": "Home", "url": "/", "redirect": "/hook" }, { "children": [ { "label": "概览", "url": "setting", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=setting" }, { "label": "函数配置", "url": "config", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionConfig" }, { "label": "函数商店", "url": "shop", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionShop" }, { "label": "函数列表", "url": "hook", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionList" } ] } ] }
操作步骤 正常配置页面,不过是配置的app类型的页面数据
描述问题:
当在编辑页配置了app类型的组件后,点击会导致页面重叠
截图或视频:
配置数据如下: { "type": "app", "id": "u:3a9f5b75cd84", "brandName": "应用开发", "pages": [ { "label": "Home", "url": "/", "redirect": "/hook" }, { "children": [ { "label": "概览", "url": "setting", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=setting" }, { "label": "函数配置", "url": "config", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionConfig" }, { "label": "函数商店", "url": "shop", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionShop" }, { "label": "函数列表", "url": "hook", "schemaApi": "get:/api/smartpage/amis/v1/page/schema?websitePath=lichen&path=functionList" } ] } ] } 代码编辑页:
编辑页点击后效果:
![image](https://github.com/baidu/amis/assets/39874717/a42cfc61-dc7c-45bf-8b6a-93c47ca57f58)
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的? 使用官方的demo进行测试,拉取最新的代码到本地后配置也存在问题
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
粘贴有问题的完整
amis schema
代码:操作步骤 正常配置页面,不过是配置的app类型的页面数据