Commit aaf3dd12 by 胡悦

修复系统消息异常情况

1 parent 84f717bc
...@@ -61,8 +61,16 @@ export default { ...@@ -61,8 +61,16 @@ export default {
this.close() this.close()
}, },
jumpSystem() { jumpSystem() {
try {
this.getDetailById(this.messageData.businessIds[0]) this.getDetailById(this.messageData.businessIds[0])
// this.getDetailById(51) } catch (e) {
uni.showToast({
title: '系统消息跳转失败',
icon: 'none'
})
this.close()
throw e
}
this.close() this.close()
}, },
async getDetailById(id) { async getDetailById(id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!