Commit 17561eff by 李伟康

fix(entrance): 添加跳转加载提示并优化监听器配置

- 在 handleClick 方法中添加 uni.showLoading 显示跳转中状态
- 使用 setTimeout 隐藏加载提示,避免界面卡顿
- 移除 NegotiationDetail 组件中 ReportStatus 监听器的 immediate 配置
1 parent 8c45612a
......@@ -102,7 +102,14 @@ export default {
},
handleClick(item) {
// 这里可以根据实际需求进行跳转或功能处理
uni.showLoading({
title: '跳转中...',
mask: true
})
this.$emit('entranceClick', item)
setTimeout(() => {
uni.hideLoading()
}, 500)
},
isNewVersionNeed(merchantId) {
return uni.$api.dailyTemplateApi.isNewVersionNeed({ merchantId })
......
......@@ -92,7 +92,6 @@ export default {
this.getTodayPlanStoreCount()
}, 200)
},
immediate: true,
deep: true
},
ReportStatus: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!