king
2023-02-17 8137ac074ce6370e4b46295e7acf9c7870ef82d2
src/menu/components/card/double-data-card/index.jsx
@@ -63,11 +63,11 @@
        search: [],
        subcards: [{
          uuid: Utils.getuuid(),
          setting: { width: 24 },
          setting: { width: 24, display: 'default', position: 'bottom' },
          style: {
            borderWidth: '1px', borderColor: '#e8e8e8',
            paddingTop: '15px', paddingBottom: '15px', paddingLeft: '15px', paddingRight: '15px',
            marginLeft: '8px', marginRight: '8px', marginTop: '8px', marginBottom: '8px'
            marginLeft: '8px', marginRight: '8px', marginTop: '8px'
          },
          elements: [{
            uuid: Utils.getuuid(),
@@ -76,12 +76,13 @@
            width: 12,
            value: '循环区域'
          }],
          backSetting: {},
          backSetting: {width: 24},
          backStyle: {
            borderLeftWidth: '1px', borderLeftColor: '#e8e8e8',
            borderRightWidth: '1px', borderRightColor: '#e8e8e8',
            borderBottomWidth: '1px', borderBottomColor: '#e8e8e8',
            paddingTop: '15px', paddingBottom: '15px', paddingLeft: '15px', paddingRight: '15px'
            paddingTop: '15px', paddingBottom: '15px', paddingLeft: '15px', paddingRight: '15px',
            marginLeft: '8px', marginRight: '8px', marginBottom: '8px'
          },
          backElements: [{
            uuid: Utils.getuuid(),
@@ -175,6 +176,10 @@
      card.errors.push({ level: 0, detail: '数据源中无可用脚本!'})
    } else if (!card.setting.primaryKey) {
      card.errors.push({ level: 0, detail: '未设置主键!'})
    } else if (!card.setting.subKey) {
      card.errors.push({ level: 0, detail: '未设置子表主键!'})
    } else if (!card.setting.subBID) {
      card.errors.push({ level: 0, detail: '未设置子表BID!'})
    } else if (!columns.includes(card.setting.primaryKey)) {
      card.errors.push({ level: 0, detail: '主键已失效!'})
    } else if (!card.setting.supModule) {