amis icon indicating copy to clipboard operation
amis copied to clipboard

app多页应用类型组件配置后重叠

Open river1017 opened this issue 1 year ago • 0 comments

描述问题:

当在编辑页配置了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 编辑页点击后效果: image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? 使用官方的demo进行测试,拉取最新的代码到本地后配置也存在问题

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

  3. 粘贴有问题的完整 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"
        }
      ]
    }
  ]
}
  1. 操作步骤 正常配置页面,不过是配置的app类型的页面数据

river1017 avatar Jun 24 '24 06:06 river1017