Commit 87b807a5 by 李伟康

feat(equity): 提单成功后显示加载提示并延迟打开通知弹窗

在提单成功后,新增显示 loading 提示,并延时 1500ms 后再打开通知弹窗,优化用户体验。
同时确保合同预览跳转逻辑在弹窗关闭后正确执行。
1 parent 8e53cf5f
...@@ -619,6 +619,10 @@ export default { ...@@ -619,6 +619,10 @@ export default {
this.$emit('jump', 'EquityManagement') this.$emit('jump', 'EquityManagement')
}, 1500) }, 1500)
} else { } else {
uni.showLoading({
mask: true
})
setTimeout(async () => {
// 从URL获取文件名 // 从URL获取文件名
const getFileNameFromUrl = (url) => { const getFileNameFromUrl = (url) => {
return url.split('/').pop().split('?')[0] || '未知文件' return url.split('/').pop().split('?')[0] || '未知文件'
...@@ -651,6 +655,7 @@ export default { ...@@ -651,6 +655,7 @@ export default {
uni.hideLoading() uni.hideLoading()
this.$refs.reportNotice.open() this.$refs.reportNotice.open()
}, 100) }, 100)
}, 1500)
} }
} else throw message } else throw message
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!