fix(workspace): 修复服务中心通知弹窗路由跳转后this指向问题
修复checkServiceNotice方法中异步回调内this指向错误,导致路由跳转后无法正确更新页面状态的问题。通过引入that变量保存当前this引用,确保在wx.showModal回调中能正确访问页面实例。
Showing
1 changed file
with
5 additions
and
4 deletions
-
Please register or sign in to post a comment