king
2020-09-06 ab941662167dc16d4b4e73522b275f47f4a89ff0
src/templates/sharecomponent/columncomponent/dragcolumn/index.jsx
@@ -2,7 +2,7 @@
import { useDrop } from 'react-dnd'
import { is, fromJS } from 'immutable'
import update from 'immutability-helper'
import { Icon } from 'antd'
import { Icon, Popover } from 'antd'
import Utils from '@/utils/utils.js'
import Card from './card'
import './index.scss'
@@ -153,6 +153,11 @@
            />
          ))}
          {i === (columns.length - 1) && gridBtn && gridBtn.display ?
            <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={
              <div className="mk-popover-control">
                <Icon className="edit" type="edit" onClick={handleGridBtn}/>
              </div>
            } trigger="hover">
            <div className="page-card" style={{flex: gridBtn.Width}}>
              <div style={{cursor: 'default'}}>
                <span className="ant-table-header-column">
@@ -161,8 +166,8 @@
                  </div>
                </span>
              </div>
              <Icon className="edit" type="edit" onClick={handleGridBtn}/>
            </div> : null
              </div>
            </Popover> : null
          }
        </div>
      ))}