From 02f7acb510a00a2de18d347a6b33545fbc15d8a2 Mon Sep 17 00:00:00 2001 From: xiaokang Date: Wed, 28 Feb 2024 17:51:03 +0800 Subject: [PATCH] add view comment --- .../Workspace/components/ShowViewBaseInfoForm/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/page/Workspace/components/ShowViewBaseInfoForm/index.tsx b/src/page/Workspace/components/ShowViewBaseInfoForm/index.tsx index 344e84ada..932336ada 100644 --- a/src/page/Workspace/components/ShowViewBaseInfoForm/index.tsx +++ b/src/page/Workspace/components/ShowViewBaseInfoForm/index.tsx @@ -32,7 +32,7 @@ const { Option } = Select; class ShowViewBaseInfoForm extends Component { public render() { - const { viewName, checkOption, definer } = this.props.model ?? {}; + const { viewName, checkOption, definer, comment } = this.props.model ?? {}; const formItemLayout = { labelCol: { span: 6 }, wrapperCol: { span: 14 }, @@ -42,6 +42,7 @@ class ShowViewBaseInfoForm extends Component { viewName: viewName, checkOption: checkOption || CheckOption.NONE, definer: definer, + comment, }; if (!viewName) { @@ -77,6 +78,9 @@ class ShowViewBaseInfoForm extends Component { > + + + ); }