king
2022-06-10 bf292de8879e2ce71696cb3ddc4dc8fa88d91a20
src/menu/components/share/copycomponent/index.jsx
@@ -7,8 +7,8 @@
class CopyComponent extends Component {
  static propTpyes = {
    btnlog: PropTypes.array,
    handlelog: PropTypes.func
    type: PropTypes.string,
    card: PropTypes.object
  }
  trigger = () => {
@@ -24,6 +24,12 @@
        _val.$srcId = srcid
      }
      if (type === 'menucell') {
        _val.setting.type = 'linkmenu'
        _val.setting.linkMenuId = ''
        _val.setting.copyMenuId = ''
      }
      _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val)))
    } catch (e) {
      message.warning('复制失败,请重试!')