king
2025-01-10 62eff3734eb8456a4f26886d45961d6f9970763d
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)