src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -17,6 +17,7 @@ class ExcelOutButton extends Component { static propTpyes = { BID: PropTypes.string, // 主表ID position: PropTypes.any, // 按钮位置,工具栏为toolbar show: PropTypes.any, // 显示样式 Tab: PropTypes.any, // 如果当前元素为标签时,tab为标签信息 btn: PropTypes.object, // 按钮 @@ -37,9 +38,9 @@ } componentDidMount () { const { show } = this.props const { position } = this.props if (show === 'actionList') { if (position === 'toolbar') { MKEmitter.addListener('triggerBtnId', this.actionTrigger) } }