king
2022-01-21 46f79b491173d284a4900d19e7aecf7509481438
src/tabviews/custom/index.jsx
@@ -737,7 +737,15 @@
        }
      } 
      if (item.setting && item.setting.supModule) {
      if (item.wrap && item.wrap.supType === 'multi') { // 数据卡多上级组件
        if (item.supNodes && item.supNodes[0]) {
          item.setting.supModule = item.supNodes[0].componentId
        } else {
          item.wrap.supType = 'single'
          item.supNodes = null
          item.setting.supModule = ''
        }
      } else if (item.setting && item.setting.supModule) {
        let pid = item.setting.supModule.pop()
        if (pid && pid !== 'empty') {
          item.setting.supModule = pid
@@ -745,12 +753,13 @@
          item.setting.supModule = ''
        }
      }
      if (item.wrap && item.wrap.doubleClick) {
        let index = item.action.findIndex((btn) => btn.uuid === item.wrap.doubleClick)
        if (index === -1) {
          item.wrap.doubleClick = ''
        }
      }
      // if (item.wrap && item.wrap.doubleClick) {
      //   let index = item.action.findIndex((btn) => btn.uuid === item.wrap.doubleClick)
      //   if (index === -1) {
      //     item.wrap.doubleClick = ''
      //   }
      // }
      
      return true
    })