amis icon indicating copy to clipboard operation
amis copied to clipboard

json中多语言无效果

Open WowChenEd opened this issue 1 year ago • 2 comments

描述问题:

请用一段清晰简洁的文字描述问题是什么... https://aisuda.bce.baidu.com/amis/zh-CN/docs/extend/i18n 使用文档中JSON多语言配置,实际没效果 jsonp中配置 const response = { status: 0, data: { type: 'page', body: [ { label: 'dev', content: 'False', 'zh-CN': { label: '开发环境' }

        }
      ]
    }
  ]
}

} json中配置 { "status": 0, "msg": "", "data": { "pages": [ { "children": [ { "label": "Home", "icon": "fa fa-home", "url": "/admin/page/home", "schemaApi": "jsonp:/pages/home.js?callback=jsonpCallback", "isDefaultPage": true, "sort": 100, "zh-CN":{ "label": "首页" } } ] } ] } }

截图或视频:

可以的话,尽可能提供截图或视频来补充描述你的问题...

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

  1. 你是如何使用 amis 的? sdknpm其他... sdk 6.0.0 sdk 6.1.0都尝试了

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在 sdk 6.0.0 sdk 6.1.0都尝试了

  3. 粘贴有问题的完整 amis schema 代码:

code here...
  1. 操作步骤 请简单描述一下复现的操作步骤...

WowChenEd avatar Feb 01 '24 01:02 WowChenEd

👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

github-actions[bot] avatar Feb 01 '24 01:02 github-actions[bot]

image 用其他方式实现多语言, 使用 面包屑无法渲染名字

WowChenEd avatar Feb 01 '24 04:02 WowChenEd