king
2023-06-28 f07c42a322f41e14ef5b1bf8f2fd66fc5d338cdd
src/tabviews/custom/index.jsx
@@ -440,7 +440,7 @@
        item.components = this.filterComponent(item.components, roleId, permAction, balMap, skip, urlparam, pageId, interfaces, popview, cache, MenuName)
        return true
      } else if (['pie', 'bar', 'line', 'dashboard', 'scatter', 'chart'].includes(item.type)) {
      } else if (['pie', 'bar', 'line', 'dashboard', 'scatter', 'chart', 'antvG6', 'antvX6'].includes(item.type)) {
        if (
          item.plot.blacklist && item.plot.blacklist.length > 0 &&
          item.plot.blacklist.filter(v => roleId.indexOf(v) > -1).length > 0
@@ -1434,7 +1434,7 @@
      } else if (item.type === 'antvX6') {
        return (
          <Col span={item.width} style={style} key={item.uuid}>
            <AntvX6 config={item} mainSearch={mainSearch}/>
            <AntvX6 config={item}/>
          </Col>
        )
      } else if (item.type === 'module' && item.subtype === 'voucher') {