king
2022-06-22 8af9239a012c442c5075b420b0ba4ce77e4d4fc3
2022-06-22
3个文件已修改
9 ■■■■ 已修改文件
src/tabviews/custom/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/modalconfig/dragelement/card.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/modalconfig/dragelement/index.scss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx
@@ -853,7 +853,8 @@
          item.submit.$menuId = item.uuid
        }
      } else if (item.type === 'form') {
        item.subcards = item.subcards.map(group => {
        item.subcards = item.subcards.map((group, i) => {
          group.sort = i + 1
          group.subButton.uuid = group.uuid
          group.subButton.$menuId = group.uuid
          // group.subButton.$forbid = true // 不声明数据源变量
src/templates/modalconfig/dragelement/card.jsx
@@ -148,6 +148,7 @@
  if (card.type === 'brafteditor' && card.hidelabel === 'true') {
    _label = null
  } else if (card.type === 'hint' && !card.label) {
    className += ' no-label'
    _label = ' '
  }
src/templates/modalconfig/dragelement/index.scss
@@ -136,4 +136,9 @@
      width: 100%!important;
    }
  }
  .no-label {
    .ant-form-item-label {
      display: none;
    }
  }
}