|
|
@@ -127,7 +127,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
const [isDeepThinkVisible, setIsDeepThinkVisible] = React.useState(false);
|
|
|
const [name, setName] = React.useState('');
|
|
|
const [appTypeList, setAppTypeList] = React.useState<AppTypeList>([]);
|
|
|
- const [appVisibleList, setAppVisibleList] = React.useState<AppTypeList>([]); // 是否公开
|
|
|
+ const [appVisibleList, setAppVisibleList] = React.useState<AppTypeList>([]); // 是否公开
|
|
|
const [updateFlag, setUpdateFlag] = React.useState<boolean>();
|
|
|
const [createFlag, setCreateFlag] = React.useState<boolean>();
|
|
|
const [appProjectList, setAppProjectList] = React.useState<AppTypeList>([]);
|
|
|
@@ -679,6 +679,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
>
|
|
|
取消
|
|
|
</Button>
|
|
|
+ {createFlag && (
|
|
|
<Button
|
|
|
type='primary'
|
|
|
className='btn-cancel'
|
|
|
@@ -688,6 +689,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
>
|
|
|
保存
|
|
|
</Button>
|
|
|
+ )}
|
|
|
{createFlag && (
|
|
|
<Button
|
|
|
type='primary'
|