amis
amis copied to clipboard
json中多语言无效果
描述问题:
请用一段清晰简洁的文字描述问题是什么... 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": "首页" } } ] } ] } }
截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
如何复现(请务必完整填写下面内容):
-
你是如何使用 amis 的?
sdk
、npm
或其他
... sdk 6.0.0 sdk 6.1.0都尝试了 -
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 sdk 6.0.0 sdk 6.1.0都尝试了
-
粘贴有问题的完整
amis schema
代码:
code here...
- 操作步骤 请简单描述一下复现的操作步骤...
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
用其他方式实现多语言, 使用 面包屑无法渲染名字