From b8cde0c39d7b6d58ceff3adf6dea3cb3118ea602 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 13 九月 2022 14:46:15 +0800 Subject: [PATCH] 2022-09-13 --- src/menu/components/chart/chart-custom/chartcompile/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/menu/components/chart/chart-custom/chartcompile/index.jsx b/src/menu/components/chart/chart-custom/chartcompile/index.jsx index 1ac9de4..2f0871c 100644 --- a/src/menu/components/chart/chart-custom/chartcompile/index.jsx +++ b/src/menu/components/chart/chart-custom/chartcompile/index.jsx @@ -6,7 +6,7 @@ import { getBaseForm } from './formconfig' import asyncComponent from '@/utils/asyncComponent' -import './index.scss' +// import './index.scss' const { TabPane } = Tabs const NormalForm = asyncComponent(() => import('@/menu/components/share/normalform')) @@ -87,14 +87,14 @@ } render() { + const { config } = this.props const { view, visible, baseFormlist, plot } = this.state return ( <> <EditOutlined style={{color: '#1890ff'}} title="缂栬緫" onClick={this.showDrawer} /> <Modal - wrapClassName="popview-modal custom-chart-edit-modal" - title="鑷畾涔夊浘琛ㄧ紪杈�" + wrapClassName="mk-pop-modal" visible={visible} width={950} maskClosable={false} @@ -102,6 +102,7 @@ onCancel={() => { this.setState({ visible: false }) }} destroyOnClose > + {config.name ? <div className="mk-com-name">{config.name} - 缂栬緫</div> : null} <Tabs activeKey={view} onChange={this.changeTab}> <TabPane tab="缁勪欢璁剧疆" key="base"> <NormalForm dict={this.props.dict} formlist={baseFormlist} inputSubmit={this.onSubmit} wrappedComponentRef={(inst) => this.baseRef = inst}/> -- Gitblit v1.8.0