diff --git a/frontend/src/pages/News.jsx b/frontend/src/pages/News.jsx index 11fd7ee..63ab3eb 100644 --- a/frontend/src/pages/News.jsx +++ b/frontend/src/pages/News.jsx @@ -250,7 +250,7 @@ export default function News() { }) const data = await res.json() if (data.id || data.code === 0) { - alert('发布成功!') + setCustomModal({show: true, title: '发布成功', content: '您的寻配号信息已发布成功'}) setShowSeekPublish(false) setSeekForm({ edition: '龙钞', type: '', category: '寻号', price: '', matchType: '模糊', features: '', content: '', title: '', contact: (() => { try { const u = JSON.parse(localStorage.getItem('user') || '{}'); return u.phone || '' } catch { return '' } })() || '' }) fetchInfoList()