diff --git a/src/components/editor/ArticleList.tsx b/src/components/editor/ArticleList.tsx index ff5b888..8881e75 100644 --- a/src/components/editor/ArticleList.tsx +++ b/src/components/editor/ArticleList.tsx @@ -65,7 +65,7 @@ export function ArticleList({ onSelect, currentContent, onNew }: ArticleListProp id: Date.now().toString(), title, content: currentContent, - template: 'creative', // 默认模板 + template: 'default', // 默认模板 createdAt: Date.now(), updatedAt: Date.now() } @@ -107,7 +107,7 @@ export function ArticleList({ onSelect, currentContent, onNew }: ArticleListProp id: Date.now().toString(), title: '新文章', content: '# 新文章\n\n开始写作...', - template: 'creative', + template: 'default', createdAt: Date.now(), updatedAt: Date.now() } diff --git a/src/components/editor/WechatEditor.tsx b/src/components/editor/WechatEditor.tsx index 489ea15..4fb26fc 100644 --- a/src/components/editor/WechatEditor.tsx +++ b/src/components/editor/WechatEditor.tsx @@ -23,7 +23,7 @@ export default function WechatEditor() { const textareaRef = useRef(null) const previewRef = useRef(null) const [value, setValue] = useState('') - const [selectedTemplate, setSelectedTemplate] = useState('creative') + const [selectedTemplate, setSelectedTemplate] = useState('default') const [showPreview, setShowPreview] = useState(true) const [styleOptions, setStyleOptions] = useState({}) const [previewSize, setPreviewSize] = useState('medium')