Commit b2c2040a authored by shirlyn.guo's avatar shirlyn.guo 🤡

chore: 信息提交失败保持弹窗

parent f8ef82f1
......@@ -92,13 +92,14 @@ function handleCustomizeInfoSubmit() {
uploadVoiceCharacterCustomize(payload)
.then(() => {
window.$message.success('提交成功')
isShowVoiceCharacterCustomizeModal.value = false
})
.catch(() => {
window.$message.error('提交失敗,請重新提交')
})
.finally(() => {
customizeSubmitBtnLoading.value = false
isShowVoiceCharacterCustomizeModal.value = false
})
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment