king
2022-07-18 6f17ab979b81670b5d0017b0542e1988359c82c2
2022-07-18
3个文件已修改
6 ■■■■ 已修改文件
src/menu/components/share/actioncomponent/actionform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/actioncomponent/actionform/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/design/sidemenu/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -582,6 +582,10 @@
        _fieldval.Ot = 'required'
      }
      if (this.props.type === 'card' && _fieldval.Ot === 'required') { // 卡片中无多行选项
        _fieldval.Ot = 'requiredSgl'
      }
      this.record.label = _fieldval.label || this.record.label || ''
      this.record.Ot = _fieldval.Ot || this.record.Ot || ''
      this.record.class = _fieldval.class || this.record.class || ''
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -432,7 +432,6 @@
      } else if (value === 'custom') {
        _fieldval.Ot = 'required'
      }
      if (this.record.position === 'grid') {
        _fieldval.Ot = 'requiredSgl'
src/views/design/sidemenu/index.jsx
@@ -88,6 +88,7 @@
  componentDidMount () {
    window.addEventListener('storage', (e) => {
      if (e.key !== 'menuUpdate') return
      this.reload()
    })
  }