alibaba / x-render

🚴‍♀️ 阿里 - 很易用的中后台「表单 / 表格 / 图表」解决方案
https://xrender.fun
6.96k stars 986 forks source link

如何保证 json schema 在不同环境下渲染时的顺序是一致的 #1447

Closed asyncguo closed 9 months ago

asyncguo commented 9 months ago

如何保证 json schema 在不同环境下渲染时的顺序是一致的

{
  "type": "object",
    "properties": {
      "2": {
    "title": "简单输入框",
    "type": "string"
      },
      "1": {
    "title": "简单输入框",
    "type": "string"
      }
    }
}
lhbxs commented 9 months ago

可以配置 order

asyncguo commented 9 months ago

可以配置 order

请问除了配置 order,还有其他方式吗,或者说默认处理的机制是什么