From 4b6a4e2f04f492d770573cf48ca52d4e748a086a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 18 十月 2021 18:30:50 +0800 Subject: [PATCH] 2021-10-18 --- src/tabviews/zshare/cardcomponent/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/cardcomponent/index.jsx b/src/tabviews/zshare/cardcomponent/index.jsx index a689085..df34ca4 100644 --- a/src/tabviews/zshare/cardcomponent/index.jsx +++ b/src/tabviews/zshare/cardcomponent/index.jsx @@ -5,6 +5,7 @@ import asyncComponent from '@/utils/asyncComponent' import asyncExcelComponent from './asyncButtonComponent' +import MKEmitter from '@/utils/events.js' import '@/assets/css/table.scss' import './index.scss' @@ -513,7 +514,6 @@ tableId: PropTypes.string, loading: PropTypes.bool, data: PropTypes.array, - handleTableId: PropTypes.func } state = { @@ -735,7 +735,7 @@ this.setState({selectKey: data.key}) - this.props.handleTableId(this.props.tableId, _id, data) + MKEmitter.emit('changeTableLine', this.props.ContainerId, this.props.tableId, _id, data) } render() { -- Gitblit v1.8.0