美化发布成功弹窗 v1.2.21

This commit is contained in:
甲辰生产 2026-03-28 23:31:32 +08:00
parent 8b6271bb84
commit c7c2ad20f5
1 changed files with 1 additions and 1 deletions

View File

@ -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()