美化发布成功弹窗 v1.2.21
This commit is contained in:
parent
8b6271bb84
commit
c7c2ad20f5
|
|
@ -250,7 +250,7 @@ export default function News() {
|
||||||
})
|
})
|
||||||
const data = await res.json()
|
const data = await res.json()
|
||||||
if (data.id || data.code === 0) {
|
if (data.id || data.code === 0) {
|
||||||
alert('发布成功!')
|
setCustomModal({show: true, title: '发布成功', content: '您的寻配号信息已发布成功'})
|
||||||
setShowSeekPublish(false)
|
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 '' } })() || '' })
|
setSeekForm({ edition: '龙钞', type: '', category: '寻号', price: '', matchType: '模糊', features: '', content: '', title: '', contact: (() => { try { const u = JSON.parse(localStorage.getItem('user') || '{}'); return u.phone || '' } catch { return '' } })() || '' })
|
||||||
fetchInfoList()
|
fetchInfoList()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue