king
2025-01-10 62eff3734eb8456a4f26886d45961d6f9970763d
2025-01-10
6个文件已修改
36 ■■■■■ 已修改文件
src/menu/components/share/actioncomponent/formconfig.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/pastecontroller/index.jsx 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/basetable/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/popview/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils-custom.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -364,6 +364,16 @@
    }
  }
  if (card.syncComponents && card.syncComponents[0] && Array.isArray(card.syncComponents[0])) {
    card.syncComponents = card.syncComponents.map((item, i) => {
      return {
        syncComId: item,
        label: '',
        uuid: 'fixed' + i
      }
    })
  }
  let forms = [
    {
      type: 'select',
src/menu/pastecontroller/index.jsx
@@ -177,11 +177,23 @@
      btn.anchors = this.modules[id] || this.modules[_id] || null
    }
    if (btn.syncComponent && btn.syncComponent[0] === 'multiComponent' && btn.syncComponents) {
      if (btn.syncComponents[0] && Array.isArray(btn.syncComponents[0])) { // 兼容问题数据
        btn.syncComponents = btn.syncComponents.map((item, i) => {
          return {
            syncComId: item,
            label: '',
            uuid: 'fixed' + i
          }
        })
      }
      btn.syncComponents = btn.syncComponents.map(m => {
        let id = m.syncComId[m.syncComId.length - 1]
        let _id = md5(commonId + id)
        return this.modules[id] || this.modules[_id] || null
        m.syncComId = this.modules[id] || this.modules[_id] || null
        return m.syncComId ? m : null
      })
      btn.syncComponents = btn.syncComponents.filter(Boolean)
src/tabviews/basetable/index.jsx
@@ -580,6 +580,7 @@
        }
      } else if (cell.syncComponentId === 'multiComponent') {
        let ids = cell.syncComponents.map(m => {
          if (Array.isArray(m)) return m.pop() || ''
          return m.syncComId.pop() || ''
        })
src/tabviews/custom/index.jsx
@@ -1063,6 +1063,7 @@
        }
      } else if (cell.syncComponentId === 'multiComponent') {
        let ids = cell.syncComponents.map(m => {
          if (Array.isArray(m)) return m.pop() || ''
          return m.syncComId.pop() || ''
        })
src/tabviews/custom/popview/index.jsx
@@ -755,6 +755,7 @@
        }
      } else if (cell.syncComponentId === 'multiComponent') {
        let ids = cell.syncComponents.map(m => {
          if (Array.isArray(m)) return m.pop() || ''
          return m.syncComId.pop() || ''
        })
src/utils/utils-custom.js
@@ -666,6 +666,15 @@
      btn.anchors = btn.anchors.map(m => md5(commonId + m))
    }
    if (btn.syncComponent && btn.syncComponent[0] === 'multiComponent' && btn.syncComponents) {
      if (btn.syncComponents[0] && Array.isArray(btn.syncComponents[0])) {
        btn.syncComponents = btn.syncComponents.map((item, i) => {
          return {
            syncComId: item,
            label: '',
            uuid: 'fixed' + i
          }
        })
      }
      btn.syncComponents = btn.syncComponents.map(m => {
        m.syncComId = m.syncComId.map(n => {
          if (/\$focus/.test(n)) {