修改部署端口

Change-Id: I5fc5d84b8f48c12d31d2ebdb3175e866ca94f0c9
diff --git a/Merge/front/src/api/posts_wzy.js b/Merge/front/src/api/posts_wzy.js
index 4992f95..83e514f 100644
--- a/Merge/front/src/api/posts_wzy.js
+++ b/Merge/front/src/api/posts_wzy.js
@@ -1,5 +1,5 @@
 // src/api/posts.js
-const BASE = 'http://10.126.59.25:5714'  // 如果有代理可以留空,否则填完整域名,如 'http://localhost:3000'
+const BASE = 'http://192.168.5.235:5714'  // 如果有代理可以留空,否则填完整域名,如 'http://localhost:3000'
 
 /**
  * 获取帖子列表
diff --git a/Merge/front/src/components/CreatePost.jsx b/Merge/front/src/components/CreatePost.jsx
index 2b365db..84f3fec 100644
--- a/Merge/front/src/components/CreatePost.jsx
+++ b/Merge/front/src/components/CreatePost.jsx
@@ -15,6 +15,7 @@
   const isEdit = Boolean(postId)
   // 步骤:新帖先上传,编辑则直接到 detail
   const [step, setStep] = useState(isEdit ? 'detail' : 'upload')
+  const [files, setFiles] = useState([])
   const [mediaUrls, setMediaUrls] = useState([])
 
   // 表单字段