amis icon indicating copy to clipboard operation
amis copied to clipboard

Grid Offset属性无效

Open chareice opened this issue 6 years ago • 4 comments

文档:https://baidu.github.io/amis/docs/renderers/Grid 其中columns[x].xsOffset等其它同类的配置似乎都无效。

{
      type: "grid",
      columns: [
        {
          sm: 6,
          smOffset: 6,
          type: "form",
          title: "用户登录",
          mode: "normal",
          controls: [
            {
              type: "text",
              name: "username",
              required: true,
              placeholder: "请输入用户名",
              label: "用户名",
              size: "full",
            },
            {
              type: "password",
              name: "password",
              label: "密码",
              required: true,
              placeholder: "请输入密码",
              size: "full",
            },
            {
              type: "checkbox",
              name: "rememberMe",
              label: "记住登录",
            },
          ],
        },
      ],
    },

chareice avatar May 09 '20 08:05 chareice

有图么

RickCole21 avatar May 09 '20 09:05 RickCole21

image

还有问题么,我这里看貌似是符合预期的

RickCole21 avatar May 19 '20 12:05 RickCole21

你好,你看图上渲染出来的表单offset似乎没有生效,应该是往右偏移一些才对。

chareice avatar May 20 '20 00:05 chareice

似乎是后来删了

nwind avatar Sep 13 '21 11:09 nwind