fix: 优化定制消息

This commit is contained in:
zhangds 2024-04-25 11:21:06 +08:00
parent a1472fd23d
commit a177f03648
1 changed files with 9 additions and 7 deletions

View File

@ -281,6 +281,7 @@
/* 获取定制消息 */ /* 获取定制消息 */
getMessage(plan_id) { getMessage(plan_id) {
if (plan_id) {
req.axiosGet(`/client/plan/${plan_id}/result_message`).then(res => { req.axiosGet(`/client/plan/${plan_id}/result_message`).then(res => {
if (res.code == 200) { if (res.code == 200) {
sessionStorage.setItem('message', JSON.stringify(res.data)); sessionStorage.setItem('message', JSON.stringify(res.data));
@ -288,6 +289,7 @@
self.openErrorDialog(res.message); self.openErrorDialog(res.message);
} }
}).catch(err => { }); }).catch(err => { });
}
}, },
//获取白名单验证码 //获取白名单验证码