king
2024-06-04 a7bc0294e2b270821a982ebf23447a66ef65ae3c
2024-06-04
1个文件已修改
12 ■■■■ 已修改文件
src/templates/zshare/formconfig.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx
@@ -1012,12 +1012,20 @@
  let options = card.options || []
  if (['select', 'radio', 'link'].includes(card.type) && card.setAll === 'true') { // 兼容
    options.unshift({
    let cell = {
      key: 'empty',
      Value: '',
      Text: card.emptyText || '空',
      ParentID: ''
    })
    }
    if (card.linkSubField) {
      card.linkSubField.forEach(m => {
        cell[m] = ''
      })
    }
    options.unshift(cell)
  }
  let initval = card.initval || ''