diff --git a/ui/src/pages/Admin/Write/index.tsx b/ui/src/pages/Admin/Write/index.tsx index 92d2c7089..7c837435e 100644 --- a/ui/src/pages/Admin/Write/index.tsx +++ b/ui/src/pages/Admin/Write/index.tsx @@ -43,6 +43,7 @@ const Index: FC = () => { type: 'boolean', title: t('restrict_answer.title'), description: t('restrict_answer.text'), + default: true, }, recommend_tags: { type: 'string', diff --git a/ui/src/stores/writeSetting.ts b/ui/src/stores/writeSetting.ts index 1e01c8ba3..0ea049624 100644 --- a/ui/src/stores/writeSetting.ts +++ b/ui/src/stores/writeSetting.ts @@ -28,7 +28,7 @@ interface IProps { const Index = create((set) => ({ write: { - restrict_answer: false, + restrict_answer: true, recommend_tags: [], required_tag: '', reserved_tags: [],